Answer Posted / satish
A constructor is a method that is used to create new
instances of a class. You can easily recognize a
constructor because it has the same name as the class and
is defined with syntax similar to that of a method
definition, but it has no return type.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
what is a constructor? What is a destructor?
Write a C# program to find the Factorial of n
Give examples for value types?
Why is it important to override gethashcode when equals method is overridden?
Define sealed classes in c#?
How do destructors and garbage collection work in c#?
What is the advantage of constructor?
Why static constructor is parameterless in c#?
What is the use of table aliases?
What is dataset c#?
What is using keyword in C#?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
What is a race condition?
What is c sharp used for?
What is integer c#?