What is a constructor in c#?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
• A constructor is a special member function used to initialize objects. It has the same name as the class and no return type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / glibwaresoftsolutions
• A constructor is a special member function used to initialize objects. It has the same name as the class and no return type.
| Is This Answer Correct ? | 0 Yes | 0 No |
• A constructor is a special member function used to initialize objects. It has the same name as the class and no return type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / Roopkishora
A constructor in C# is a special method that gets called automatically when an object of a class is created. It's used to initialize the object's state.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is ilist c#?
What is the benefit of dependency injection c#?
What is the example of predicate?
How do generics work in c#?
What is difference between static and readonly in c#?
What is an iqueryable in c#?
What is data bind in c#?
How many constructors can a class have c#?
What is the Difference between directcast and ctype?
What is a .exe extension files? How is it similar to .dll extension files?
What sort algorithm does c# use?
What’s thread.sleep() in threading ?
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)