Answer Posted / pragnyan
Constructor is a method having the same name as the class
name.It is automatically invoked when instance of the class
is created.It is used to initialize the members.Constructos
canot have any return type not even void.constructors can
be overloaded.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is console writeline in c#?
Can we customize the serialization process?
What is tryparse?
What is difference between il and dll ?
Is int an object in c#?
i want o/p 011242110 in c# code.
Can I define a type that is an alias of another type (like typedef in c++)?
What happens during the process of boxing?
What is difference between static and readonly in c#?
How will you allow a class to be inherited, but prevent the method from being over-ridden?
What are nested classes in c#?
What are jump statements in c#?
How do you sort an array in c#?
How long does it take to get a loop recorder put in?
Is it possible to nest cfml conditional tags?