Can a class inherit structure.

Answer Posted / ajay

structure are not inherited.Because structure are valutype
and class is reference type.

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What operators can be used to cast from one reference type to another without the risk of throwing an exception?

685


How can I get around scope problems in a try/catch?

660


Is list passed by reference c#?

658


what is a structure in c#

994


What types of object can I throw as exceptions?

723


What is system predicate?

623


What is the default scope of a class in c#?

676


What are generic types?

689


How many parameters can a method have c#?

664


What do you mean by for each loop?

663


What is windows form in c#?

731


What's the difference between a static method and a non static method c#?

714


How to create multi-dimensional array?

774


Is datetime a value type in c#?

659


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

716