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
What is a console device?
What is meant by collections in c#?
What are get and set in c#?
Is datetime a value type in c#?
Explain About multi level and multiple inheritance how to achieve in .net
What is the function of .IsDescendent()?
What is expression tree in c#?
How many static constructors are allowed in a class?
How can I get the ascii code for a character in c#?
Will the following code compile?
Is string nullable c#?
What is visual c# net?
What is the boxing and unboxing in c#?
What are the problem with .NET generics?
How can I access the registry from c# code?