Explain constructor in c#?
A constructor in C++ is a special 'MEMBER FUNCTION' having the same name as that of its class which is used to initialize some valid values to the data members of an object. It is executed automatically whenever an object of a class is created
| Is This Answer Correct ? | 0 Yes | 0 No |
why we can't create an object for a static class?? what is the reason behind this?
What do you mean by saying a "class is a reference type"?
What is yield return in c#?
Can class inherit from struct c#?
Can we overload indexer in c#?
How are methods overloaded?
What are the different types of classes in c#?
What is event delegate in c#?
What are the Types of instancing properties and explain each. Explain the difference between multiuse,singleuse and globalmultiuse and which is default
How to implement a singleton design pattern in c#?
What are constructors in c#?
Why are mutable structs evil?
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)