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
Define a manifest in .net?
What is trim in c#?
What is difference between dynamic and var in c#?
How do I port "synchronized" functions from visual j++ to c#?
Why do we need dependency injection in c#?
What is stringbuilder c#?
Define a strong name in .net?
can you allow a class to be inherited, but prevent the method from being over-ridden?
What can you do as a .net developer?
What is datasource c#?
Which is more efficient for loop or while loop?
How to sign an assembly with strong name?
What is form feed in c#?
What is ilist c#?
What are the 2 kinds of data type conversions in c#?