Can a structure be inherited by a class?
Answers were Sorted based on User's Feedback
Answer / imatoria
A class can be inherited from a class or struct.
A structure does not support inheritance and cannot be
inherited from any class or struct. So structure members
can’t be declared protected.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sss
structure is sealed type .so it is not possible to inherit by a class
Is This Answer Correct ? | 0 Yes | 0 No |
What is the task perform by clr?
How can I access the registry from c# code?
What is reference types in c#?
List the difference between interface and abstract class?
What are virtual classes in c#?
What are primitive data types in c#?
Are attributes inherited c#?
What is the difference between int16 and int32 in c#?
Explain the working of serialization?
What is difference between value and reference types?
You are creating a custom usercontrol, some of the newly created properties are shown in the properties window. How you can hide a new property named theme from the properties window?
What is an event in c#?