Why do we need constructor in c#?
Answer / Raja Singh
A constructor in C# is a special method that is used to initialize an object. It is automatically called when an object is created, allowing the programmer to set default values for member variables and perform other necessary operations before the object can be used.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does assert() do?
What is difference between array and list?
What Is A Multicast Delegate?
Can an abstract class inherit from another abstract class c#?
What is difference between ilist and list?
Define parsing?
What are managed providers?
What is the diff between System.String and System.Text.StringBuilder classes?
What is meant by clr?
How do you create multiple inheritance in C#?
5 Answers Infosys, KenIndia, Microsoft,
What does virtual keyword mean ?
What is difference between int and int32 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)