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 structure be inherited by a class?

Answers were Sorted based on User's Feedback



Can a structure be inherited by a class?..

Answer / ranji

structure cannot be inherited by a class.

Is This Answer Correct ?    7 Yes 1 No

Can a structure be inherited by a class?..

Answer / imatoria

A class can be inherited from a class or struct.
A structure does not support inheritance and cannot be
inherited from any class or struct. So structure members
can’t be declared protected.

Is This Answer Correct ?    3 Yes 1 No

Can a structure be inherited by a class?..

Answer / sss

structure is sealed type .so it is not possible to inherit by a class

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Trace the O/p for a program on inheritance and Polymorphism. 3 classes A,B,C A with two methods public virtual SomeMethodA public virtual SomemoreMethodA B:A overide SomeMethodA C:B new Method SomeMethodA override SomeMoreMethodA main method { b new instance of B b.SomeMethodA b.SomeMoreMethodA b1 new instance of C b1.SomeMethodA b1.SomeMoreMethodA }

2 Answers   Proteans,


What is hierarchical inheritance in c#?

0 Answers  


What is the difference between a private assembly and a shared assembly?

0 Answers  


Can abstract class be sealed in c#?

0 Answers  


Why do we use stringbuilder in c#?

0 Answers  


What is bitwise operator in c#?

0 Answers  


What is the process of delegation?

0 Answers  


What is c# entity framework?

0 Answers  


What are the types of comment in c# with examples?

0 Answers  


Is int reference type c#?

0 Answers  


Which attribute adorn a test class to be picked up by the NUnit GUI in the NUnit test framework?

0 Answers   Siebel,


what is an exception in .net?

0 Answers  


Categories