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
Why do we use abstraction in c#?
Which is faster iqueryable or ienumerable?
Can a sealed class be used as a base class?
Why do we need constructors?
Why do we need to override in c#?
What is the difference between abstract and abstraction?
I wish to create a windows application to perform a similar function as that of the "Search" which is provided to look for related files and folders in the System.. What steps must i follow??
What are handlers in c#?
What is expression tree with example?
Explain the types of errors in c#?
What is the difference between an application domain and a process?
What is private in c#?
What is autopostback in c#?
What is an xsd file?
What are the different types of classes in c#?