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 |
What is AutoMapper in C#?
what is the need of using interface in program ex:if we have a program like this interface1() { void method1(); void method(); } class a1 : interface1 { a1 b = new b(); b.method1(); b.method2(); } so without using interface also we can achieve this then wat is the need to use the interface? plz give me the answer
Explain the Abstract class in c#.net
Can you instantiate a struct without using a new operator in c#?
What does async mean in c#?
What is the data encapsulation?
What do you mean by generic class in c#?
What is desktop example?
What is the difference between constants and read-only?
Why cannot you specify the accessibility modifier for methods inside the interface?
Why do we need indexer in c#?
What is the difference between TypeOf, GetType and what are the uses of TypeOf, GetType.
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)