InterviewSolution
Saved Bookmarks
| 1. |
What Is A Constructor In C#? |
|
Answer» Constructor is a class METHOD that is executed when an object of a class is CREATED. Constructor has the same name as the class, and usually used to INITIALIZE the data MEMBERS of the new object. Constructor is a class method that is executed when an object of a class is created. Constructor has the same name as the class, and usually used to initialize the data members of the new object. |
|