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
How do you escape in c#?
Why do we use reflection in c#?
What is the difference between wrapper class and primitive?
What is the difference between dynamic type variables and object type variables in c#?
What is event sourcing in c#?
What are the properties of c#?
What is private constructor c#?
What is asp net in c#?
How do I join one form to another in c#?
How long does it take to learn c# programming?
What is the Signification of the "new " keyword in C#? example
How many types of polymorphism are there?
What is the difference between the debug class and trace class? Documentation looks the same.
What is Implementation inheritance and interface inheritance?
Explain manifest in c#.