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

What is AutoMapper in C#?

0 Answers   Infosys,


what is the need of using interface in program ex:if we have a program like this interface1() { void method1(); void method(); } class a1 : interface1 { a1 b = new b(); b.method1(); b.method2(); } so without using interface also we can achieve this then wat is the need to use the interface? plz give me the answer

1 Answers  


Explain the Abstract class in c#.net

0 Answers  


Can you instantiate a struct without using a new operator in c#?

0 Answers  


What does async mean in c#?

0 Answers  


What is the data encapsulation?

0 Answers  


What do you mean by generic class in c#?

0 Answers  


What is desktop example?

0 Answers  


What is the difference between constants and read-only?

0 Answers  


Why cannot you specify the accessibility modifier for methods inside the interface?

0 Answers  


Why do we need indexer in c#?

0 Answers  


What is the difference between TypeOf, GetType and what are the uses of TypeOf, GetType.

2 Answers   Siemens, Syntel,


Categories