Answer Posted / 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 |
Post New Answer View All Answers
What is an expression in c#?
What is difference between list and ilist in c#?
How are methods overloaded?
What is iqueryable?
Is is possible to force garbage collector to run?
How do destructors and garbage collection work in c#?
Why do we use inheritance in c#?
What is signature c#?
When Should You Call The Garbage Collector In .net?
Is c++ or c# better?
Does c# support a variable number of arguments?
What does get set mean in c#?
Which sorting algorithm is best?
What do you mean by delegates and explain different types of delegates?
What is the main method in c#?