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 are the benefits in using c# ?
Can we change static value in c#?
What is the do while loop code?
Can you create partial delegates and enumerations?
An abstract class is inherited, an Interface also inherited(multiple inheritance), How it differences.
What is the difference between c and c sharp?
Explain the term inheritance in C#.
0 Answers Deloitte, JPMorgan Chase,
What is razor view in c#?
if i want to transmit binary data,,,will it be support by Webservices or any exceptions ? define
What are satellite assemblies? How will you get the different language strings?
how to retrive a TextBox value in to Sql database using C# windows form application coding
Is learning c# hard?