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 are the types of serialization?
What are the main reasons to use c# language?
What is var c#?
Explain the difference between class and interface in .net?
Explain about Error handling and how this is done
Why is hashset faster?
What are circular references? How garbage collection deals with circular references.
What is default c#?
Is c# an open source?
What is Web.config?
What is an argument in c#?
What does f mean in c#?
What is a protected class c#?
What is attribute c#?
What is private static in c#?