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

Can abstract class be instantiated c#?

0 Answers  


Can main method be final?

0 Answers  


can we create an empty interface with no definitions? If so, how it should be called in the class?

3 Answers   IBM,


What is class method c#?

0 Answers  


What is mvc pattern in c#?

0 Answers  


What are the applications of c#?

3 Answers  


Why delegates are type safe in c#?

0 Answers  


Can property defined in Interface.

4 Answers   Synechron,


What is difference between association, aggregation and inheritance relationships?

0 Answers  


what is the index value of the first element in an array?

0 Answers  


What happens if a static constructor throws an exception?

0 Answers  


Are objects passed by reference in c#?

0 Answers  


Categories