Answer Posted / ranjanatyagi
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 ? | 7 Yes | 0 No |
Post New Answer View All Answers
How to create events for a control? What is custom events? How to create it?
What are immutable types in c#?
Define a strong name in .net?
What's the difference between abstraction and encapsulation?
Is inheritance possible in c sharp?
Explain the types of errors in c#?
What are extensions in c#?
In object oriented programming, how would you describe encapsulation in c#?
Which is faster iqueryable or ienumerable?
What is parsing? How to parse a date time string?
can you create a function in c# which can accept varying number of arguments
Which control cannot be placed in mdi?
Are c# generics the same as c++ templates?
What is the base class of all classes in c#?
What is a variable in c#?