Constructors on C# related Questions and Answers


Question :   How many times can a constructor be called during lifetime of the object?
1. As many times as we call it.
2. Only once.
3. Depends upon a Project Setting made in Visual Studio.NET.
4. Any number of times before the object gets garbage collected.
Answer :   2 - Only once.  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter