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 |
Can you drink alcohol with a loop recorder?
What is difference between array and collection?
Define encapsulation?
Which is faster array or arraylist in c#?
Why we use dll in c#?
In dynamic link library, which api is used for load library?
What is array? What are jagged array ?
Are constructors inherited c#?
What's the difference between abstraction and encapsulation?
What?s the advantage of using System.Text.StringBuilder over System.String?
Can we create instance of private class in c#?
Can we inherit private members of class in c#?