What do constructors do in c#?
Answer / Deepak Singh Yadav
Constructors are special methods in C# that are used to initialize objects. They have the same name as the class, and by default they don't have a return type or access modifier (public). When an object is created, the constructor runs automatically to set initial values for the object's properties.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is std :: string null terminated?
Is and as in c#?
what is the purpose of Interfaces?
What does assert() do?
Is lazy t thread safe?
Distinguish between the Debug class and Trace class with its functionality?
Can we override constructor in c#?
What is property c#?
how many catch we can write in thye program?
What are some of the commonly used commands in sqlcommand?
Which control cannot be placed in mdi?
What does console writeline do?
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)