Answer Posted / salman
A constructor has the same name as class name.Constructor
has no return type.Constructor are used to initialize the
object.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Difference between directcast and ctype.
What is bit in c#?
how to prevent a class from being inherited in c#.net?
What are the types of inheritance in c#?
What is serialization in c#?
What is anonymous types in c#?
What is the full form of GAC? Explain its uses?
What is the difference between User controls and Custom Controls?
What is addressof operator?
What is array and arraylist?
What is a int in c#?
What is uint c#?
Is int a class in c#?
What are circular references?
What is an enumerator c#?