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

What?s the role of the DataReader class in ADO.NET connections?

2 Answers  


Why can’t struct be used instead of class for storing entity?

0 Answers  


What are cshtml files?

0 Answers  


What does f mean in c#?

0 Answers  


What is predicate c#?

0 Answers  


What is the difference between int.parse and int.tryparse methods?

0 Answers  


What are PE(Portable Executable)?

0 Answers   MCN Solutions,


How do you inherit from a class in C#?

1 Answers  


What does type safety mean?

0 Answers  


Is IIS is required for installing the deployment of windows C#.netapplication and to run.

2 Answers  


Define constructor in c#.

0 Answers  


Distinguish between the Debug class and Trace class with its functionality?

0 Answers   Siebel,


Categories