what is a static constructor?
Answer / Vicky Sharma
A static constructor in C# is a special method that initializes shared data for a class. Unlike other constructors, it cannot take parameters and cannot be overloaded or invoked directly. A static constructor runs automatically when the class is first accessed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why is c# a good programming language?
What are the features of c#?
What is the difference between ienumerable and enumerator?
What is Signature and parameter in overloading ?
use of operator overloading of implicit & explicit operators?
Different between method overriding and method overloading?
What is the use of return in c#?
What are the desktop applications?
Is it possible to have a static indexer in c#? Allowed in c#.
is it possible to inherit a class but methods declared in the class should not be inheritable i possible how?
What are the variables in c#?
What is the difference between list and arraylist 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)