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 mark static constructor with access modifiers?
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
When was .net linq added?
Why cannot you specify the accessibility modifier for methods inside the interface?
What is exe in c#?
Explain the three services model (three-tier application). Presentation (ui), business (logic and underlying code) and data (from storage or other sources).
Which is the best language for desktop application?
Can you store multiple data types in System.Array?
What is callback method in c#?
Can you prevent your class from being inherited and becoming a base class for some other classes?
What is access specifier in c#?
Is stringbuilder faster than string concatenation c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)