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 does c# generics and c++ templates compare?
What is the meaning of extention?
How does dictionary work in c#?
What are delegate methods?
what are the differences between a class and structure
Describe ways of cleaning up objects in c#.
What are the applications of c#?
What is the main usage of keyword “virtual†? How does it work for a method or property?
What are the benefits of using generics?
what is the purpose of using statement in c#
What is new method in c#?
What is CLR and its application.?
What is the difference between internal and private in c#?
If I want to override a method one of class A and in class b then how do you declare?
What is the use of static members with example using c#.net.