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 is a generic method?

0 Answers  


What is an enumerator in c#?

0 Answers  


What is hashtable c#?

0 Answers  


What is hashset c#?

0 Answers  


int a = '3' + '4'; char n = (char)a; What will be answer of n?

4 Answers  


How encapsulation and abstraction defined/used in C#.NET.

8 Answers   Synechron,


To create a localized application which namespaces are necessary?

0 Answers   Siebel,


What is the difference between ref & out parameters in c#?

0 Answers  


Why delegates are required?

0 Answers  


If i have 100 objects in my application are out of scope.when first time garbage collected how many objects memory reference are free?

2 Answers   ITC Infotech,


What is a base class in C#?

0 Answers   TryTechnicals Pvt Ltd,


Can we inherit a class with private constructor in c#?

0 Answers  


Categories