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
How do I create a .exe file?
Differentiate between dataset and datareader?
Can arraylist hold primitive types?
What is a void c#?
What's the implicit name of the parameter that gets passed into the set method/property of a class?
Tell me the difference between call by value and call by reference.
What is nameof c#?
What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?
What is the difference between double and decimal in c#?
What is Fragmentation and its Types?
Define property in c#.net?
What is meant by unicode characters?
What is a boolean c#?
What is expression c#?
What is datatable and dataset in c#?