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
Are c# constructors the same as c++ constructors?
What is delegate in c#?
Ho we can see assembly information?
How do you declare a method in c#?
What are the differences between static, public and void in c#?
Is c# dictionary a hash table?
What is a void c#?
How do I join one form to another in c#?
What tool we have to use to install assembli in gac folder.
Why do we use yield in c#?
What is a protected class in c#?
What is type checking in c#?
Can a dictionary have the same key?
Explain Direct CAST vs CType ?
what are pointer types in c#