Can a class inherit structure.
Answers were Sorted based on User's Feedback
Answer / ajay
structure are not inherited.Because structure are valutype
and class is reference type.
| Is This Answer Correct ? | 15 Yes | 4 No |
Answer / shadab
Actually Sturcture are internally declared as sealed that's
the reason a class can't inherit it...
for more information go url
http://www.shadab-programminghelp.blogspot.com
| Is This Answer Correct ? | 5 Yes | 4 No |
Answer / kanan
answer #2 is correct. You can not inherit structure because
it's sealed internally.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / ankita
Structures are not inheritable by classes b'coz a structure
is used to create our own data types (user defined data types).
| Is This Answer Correct ? | 0 Yes | 1 No |
What is an escape sequence? Name some string escape sequences in c#.
What is the difference between add and addrange in c#?
What is overloading in c#?
What is the difference between interface and functional interface?
What is sqlconnection in c#?
write the Syntax for Function or Method Overriding?
How will you deploy the dll file in gac?
Can an exception be thrown from a catch block?
Assignment # 1 Print the pattern given below using single printf statement XX XX XX XX XX XX X X X X XX XX XX XX XX XX Assignment # 2 Print the pattern given below using single printf statement (please do NOT use the string function below) 0 909 89098 7890987 678909876 56789098765 4567890987654 345678909876543 23456789098765432 1234567890987654321
What is strong data type in c#?
What is the use of thread join in c#?
Can you have parameters for static constructors?
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)