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

Explain Constructor and destructor?

613


What are get and set in c#?

664


What is difference between property and variable in c#?

538


What is difference between the "throw" and "throw ex" in .net?

558


What is JIT (just in time)? how it works?

633






When is a class declared as a class abstract?

656


How to reduce image resolution in C#?

735


What is the use of protected in c#?

599


List down the differences between “dispose” and “finalize” methods in c#.

528


What is difference between ienumerable and list in c#?

538


What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?

602


Does c# support const methods, properties, or events?

627


What is parseexact c#?

598


Is list ienumerable c#?

687


Which controls do not have events?

643