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 can I create with c#?
Give an example of a ctype.
What is delegation in oops?
What is singleordefault c#?
How to find type of variable?
Does main have to be static c#?
Can a constructor have a return type?
What is gui in c#?
What is the difference between ref and out in c#?
What is cache memory in c#?
What is the difference between interface and inheritance in c#?
Does c# do array bounds checking?
write a C# Program add two matrix ?
What is ado net in c#?
Can we store different data types in arraylist in c#?