When compiler adds a default constructor to a class?
Answer Posted / abhay k pandey
When there in no explicite parameterless constructor
written for any class. C# compiler calls the default
constructor and initializes fields with zero, false and
null values.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the root element of an xml file?
What is callback function in c#?
How do you comment out code in c#?
Are string objects mutable or immutable?
What is lazy t?
Explain About sn.exe
What is the difference between mobile application and desktop application?
Which function is the entry point for a DLL in MS Windows 3.1?
Contrast between an interface and abstract class?
What is iqueryable in linq?
What is the difference between dynamic and var in c#?
What is sql transaction in c#?
Is it true that all c# types derive from a common base class?
How many types of constructor are there in c#?
Which operator cannot be overloaded in c sharp?