Can a structure inherit a class.

Answers were Sorted based on User's Feedback



Can a structure inherit a class...

Answer / sivaprasad

structures won't support inheritance

Is This Answer Correct ?    17 Yes 3 No

Can a structure inherit a class...

Answer / a b

A structure cannot inherit from a class but it can
implement an interface.

Is This Answer Correct ?    14 Yes 1 No

Can a structure inherit a class...

Answer / sarang patil

Struct are sealed.

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More C Sharp Interview Questions

Why is it a bad idea to throw your own exceptions?

4 Answers  


What is exe in c#?

0 Answers  


Is hashset serializable c#?

0 Answers  


How to Show Message box in Metro Style App?

0 Answers   PUCIT,


What is the advantage of singleton class?

0 Answers  






What is ienumerable and iqueryable?

0 Answers  


Is list ienumerable c#?

0 Answers  


I have 3 overloaded constructors in my class. In order to avoid making instance of the class do I need to make all constructors to private?

0 Answers  


Why do we use partial class in c#?

0 Answers  


What are the advantages of interface in c#?

0 Answers  


Is c# dictionary a hash table?

0 Answers  


How do you generate documentation from the C# file commented properly with a command-line compiler?

1 Answers  


Categories