Answer Posted / kamlesh sharma
constructors are special type of member functions of class
which is used to initilized a object
1. constructors are as same name of the class
2. don't have any return type
3. don't return any value
Types
1 default constructor
2 parametrized constructor and
3 copy constructures
constructors can be overload
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is difference between destructor and finalize?
Is c# lazy thread safe?
What does protected internal access modifier mean?
What is the difference between Object and class adapters?
What is the difference between abstraction and encapsulation in c#?
What is a partial class in c#?
What is lastindexof c#?
Explain streamreader/streamwriter class?
Explain types of comment in c# with examples
what is an exception in .net?
What is difference between hashtable and dictionary in c#?
What is regex c#?
What is uint16?
List down the differences between “dispose” and “finalize” methods in c#.
What is activator c#?