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 does bitwise work?
Can we inherit partial class in c#?
Is c# pass by reference?
What is private constructor c#?
Why is it not a good idea to use empty destructors?
What is difference between for and foreach loop in c#?
Give an example to show for hiding base class methods?
What are the desktop applications?
Are c# destructors the same as c++ destructors?
Is xamarin free?
What is argument in c#?
What is difference between an reference type and value type in C#?
Can we customize the serialization process?
How do you escape in c#?
Why do we use ienumerable in c#?