what is a constructor?
Answer Posted / dharmendra nonia
constructor is a special type of method that invoke when u
create a new instance of a class. Basically it is used to
initialize the member variables.Its name must be same as
the class name.It have no return type.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How does dll hell solve in .net?
Which sorting algorithm is best?
What is difference between a function and a method?
what are windows services?
What is the solution if you need to manipulate sets of items?
How to implement a singleton design pattern in c#?
Does c# support #define for defining global constants?
What are cshtml files?
What do you mean by generic class in c#?
How many types of variables are there in c#?
What is the difference between array and arraylist c#?
Is comparable a functional interface?
Explain About .NET Remoting and types of remoting
What is a .exe extension files? How is it similar to .dll extension files?
Does a loop recorder have to be removed?