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 |
How does inheritance work in c#?
i want display a given number into Rupees Format Like Given number is : 156735 my Expected output is 1,56,735. how to display?
What is dynamic object in c#?
Write one code example for compile time binding and one for run time binding? What is early/late binding?
What is use of super class
Does c# support multilevel inheritance?
what's the Difference between DataView and DataTable?
explain the features of static/shared classes.
What Is The Difference Between ViewState and SessionState?
What is difference between field and property in c#?
What is an assembly qualified name? Is it a filename? How is it different?
Why hashtable is thread safe in c#?