Google News
logo
C# - Quiz(MCQ)
How many times can a constructor be called during lifetime of the object?
A)
Only once.
B)
As many times as we call it.
C)
Depends upon a Project Setting made in Visual Studio.NET.
D)
Any number of times before the object gets garbage collected.

Correct Answer :   Only once.

Advertisement