What is the type of struct? Can a struct inherit from another struct or class?

 Posted by Tripati_tutu on 12/20/2010 | Category: ASP.NET Interview questions | Views: 2411 | Points: 40

The structs are always value types. A struct cannot be inherited from another struct or class, and also it cannot be the base of a class. But yes, in struct you can instantiate it without using a new operator.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response