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
How to open a new form on button click in Windows forms?
Illustrate race condition?
Explain about Threading Types.
Can you create sealed abstract class in c#?
what is the default access for a class
What is deadlock in c#?
What is generic and non generic collections in c#?
Is multilevel inheritance possible in c#?
What is the xml document structure?
Can we inherit partial class in c#?
What is xaml in c#?
How many types of constructor are there in c#?
What is the use of command builder?
Why are strings immutable c#?
What’s a strong name?