What is structs?

 Posted by Tripati_tutu on 12/27/2010 | Category: C# Interview questions | Views: 5235 | Points: 40
Answer:

Structs are similar to a class.Some of the points listed below:

• A struct is a value type.
• The structs doesn’t support inheritance other than implicitly deriving from object.
• A struct can have the members like parameterless constructor, a finalizer, virtual members etc.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Shadyyehia on: 5/17/2015 | Points: 10
struct DOESN"T have parameterless constructor

Login to post response