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
Explain the working of serialization?
What is a console?
Is for loop faster than foreach?
What is the difference between internal and protected in c#?
If you define a user defined data type by using the struct keyword, is it a value type or reference type?
Why is c# a good programming language?
What are accessors?
Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.
What are the different types of classes?
Why do we use threads in c#?
What is the purpose of the integer parse method the decimal parse method?
What is windows forms in c#?
What are the 4 pillars of any object oriented programming language?
Why do we Need of static class in c#?
Why we use get set in c#?