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 will you deploy the dll file in gac?
Define mutex in C#?
What benefit do you get from using a primary interop assembly (pia)?
How to rotate an Image in C#?
0 Answers Petranics Solutions,
How many constructor can a class have?
What are extensions methods in c#?
Can we have only “try” block without “catch” block in c#?
What is yield in c#?
Why objects are stored in heap in c#?
What is the difference between private and protected in c#?
What are nullable types? Is Nullable<int> I and int ?i are same.
Why abstract class can not be instantiated?
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)