Select from following answers:- C# provides a copy constructor.
- A constructor is used to set default values and limit instantiation.

- Destructors are used with classes as well as structures.
- A class can have more than one destructor.
- All Above
Whenever a class or struct is created, its constructor is called. A class or struct may have multiple constructors that take different arguments. Constructors enable the programmer to set default values, limit instantiation, and write code that is flexible and easy to read
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator