Answer Posted / rajkamal busi
Constuctor is a Method/Fuction
- Having Same Name of that Class(which it belongs to).
- which doesn't have any Return Type.
- and Get Executed Automatically when ever Object is
Created for that class.
Mostly Constuctor is Used for Initialization of Objects.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
List the 5 different access modifiers in c#?
How to implement singleton design pattern in c#?
What are object pooling and connection pooling and difference? Where do we set the Min and Max Pool size for connection pooling?
Can properties be private in c#?
What is form feed in c#?
Which is faster dictionary or list?
What is data binding c#?
What is the difference between string and stringbuilder in c#?
What are the differences between a class and a struct?
What is the difference between list and array in c#?
Explain a MSIL ? Why is it appreciated by all developers?
What is difference between string and stringbuilder in c#?
What is difference between singleordefault and firstordefault?
How to declares a two-dimensional array in C#?
What is deferred execution in c#?