Answer Posted / pragnyan
Constructor is a method having the same name as the class
name.It is automatically invoked when instance of the class
is created.It is used to initialize the members.Constructos
canot have any return type not even void.constructors can
be overloaded.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is msil in c#?
What are different types of Delegates in C#?
Can destructors have access modifiers?
Why we use dll in c#?
What is interface c#?
What is indexer c#?
Can int be null in c#?
Is post back c#?
Why are mutable structs evil?
What is jagged array?
What is namespace explain with example?
Why are strings in c# immutable?
What is generic method in c#?
What is a custom attribute?
Is there throws keyword in c#?