Constructor is a method in the class which has the same name as the class (in VB.Net its New()). It initializes the member attributes whenever an instance of the class is created.
Filed under C# Interview Questions by admin
Name (required):
Email (required):
Web site:
Notify me of followup comments via e-mail
Comments