Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can a class inherit structure.

Answers were Sorted based on User's Feedback



Can a class inherit structure...

Answer / ajay

structure are not inherited.Because structure are valutype
and class is reference type.

Is This Answer Correct ?    15 Yes 4 No

Can a class inherit structure...

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

Can a class inherit structure...

Answer / kanan

answer #2 is correct. You can not inherit structure because
it's sealed internally.

Is This Answer Correct ?    2 Yes 1 No

Can a class inherit structure...

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

Post New Answer

More C Sharp Interview Questions

Is a structure a class?

0 Answers  


What problem does Delegate Solve?

0 Answers   MindCracker,


What does firstordefault mean in c#?

0 Answers  


What is the use of xmlserializer?

0 Answers  


What is c# and why it is used for?

0 Answers  


How can you clean up objects holding resources from within the code?

2 Answers   L&T, Wipro,


What is the difference between throw and throw ex?

0 Answers  


What are extensions in c#?

0 Answers  


Valuetype/reference type?

6 Answers   Microsoft,


What is the c# equivalent of c++ catch (…), which was a catch-all statement for any possible exception? Does c# support try-catch-finally blocks?

0 Answers  


What is xml comments in c#?

0 Answers  


What are console applications used for?

0 Answers  


Categories