.Net FAQ's
.Net FAQ's
A constructor is a member function with the same name as its class. The constructor is invoked whenever an object of its associated class is created.It is
called constructor because it constructs the values of data members of the class.