Home > Interview Questions > C#.NET > What is constructor in C#?

What is constructor in C#?

by Spidy   on 23/02/2011   Category: C#.NET   |  Level: Beginner   |  Views: 1344    |  Points: 25     |  Silver 


A constructors are the methods which has the same name as class. Constructors are executed and initialize the variables automatically when object of the class created.

Regards,
Spidy.


« What is event bubbling in ASP.NET?
» List the server side validation controls in ASP.NET
Post Question  |  Question Home

Recent Posts

User Responses


No response found, be the first to review this question.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts