what is a constructor?
Answer Posted / ranjith
Constructor is a method which will be executed when an
object is created. It is used to Intialize the
object.constructors has the same name as the class
name.constructors will take parameters.constructors doesnot
return any value
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are the generation of Garbage Collection in C# .NET ?
What is the difference between CreateObject() and GetObject()?
Is c# good for beginners?
What is cshtml?
How to block a class from being inherited further?
What does using do in c#?
How many kinds of elements an array can have?
How long can a string be c#?
What is data adapter in c#?
What do you mean by for each loop?
Are c# objects passed by reference?
Is c# easier than javascript?
Is array a list?
Are string objects mutable or immutable?
Is hashset serializable c#?