Can a class inherit structure.

Answer Posted / ankita

Structures are not inheritable by classes b'coz a structure
is used to create our own data types (user defined data types).

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a field and a property in c#?

490


What are the differences between events and delegates in c#?

462


What are the main reasons to use c# language?

494


What does console mean c#?

493


What is appdomain in c#?

480






What is an assembly in dotnet?

544


How do you define a predicate?

484


the c# keyword .int. Maps to which .net type?

742


Differentiate between copy and default constructor.

568


What are types in c#?

492


What is winforms c#?

477


Can we write class inside a class in c#?

541


What is an event in c#?

497


What is an expression in c#?

492


What are delegates and why are they required?

504