When compiler adds a default constructor to a class?
Answer Posted / sitaram
when ever compile the class,First compiler check the any
type of constructor is available or not in that class? if
it is not available. compiler will automatically create the
default constructor.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Why data types are important in c#?
What is a event in c#?
What do constructors do in c#?
Is c sharp free?
What is ienumerable and iqueryable?
Can abstract classes be final?
What is a Assembly?
What is form feed in c#?
What is desktop example?
What are data types in C#?
Explain how can you clean up objects holding resources from within the code?
What is an enumerator c#?
Is xml tags are case sensitive?
Explain async and await?
How do I count the length of a string in c#?