In c#, what will happen if you do not explicitly provide a constructor for a class?
Answer / Aesha Varshney
If you do not explicitly provide a constructor for a class in C#, the compiler will automatically generate a default (parameterless) constructor for the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a method signature c#?
How are methods overloaded?
What is attribute and reflection in c#?
Explain about multithreading?
Why is it a bad idea to throw your own exceptions?
What do you mean by hashtable c#?
Why singleton class is sealed?
What?s the advantage of using System.Text.StringBuilder over System.String?
What is meant by collections in c#?
Define constructor in c#.
What?s the difference between System.String and System.StringBuilder classes?
What is difference between dll and exe in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)