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
Why delegates are required?
Does the system.exception class have any cool features?
What does it mean?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
Write a C# program to find the Factorial of n
What is public void in c#?
So what makes your code really object-oriented #?
What are the variables in c#?
What are the new features in c# 2.0?
Define an abstract class?
What is dll in c#?
Explain About friend and Protected friend
what are nullable types in c#
What is the compiler of c#?
What is short in c#?