Answer Posted / sujai cn
A static constructor is executed when that class is loaded
in to memory for the first time . i.e., when ever an object
is created or a static method is invoked using class name.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Will the following code compile?
What is a linq in c#?
What are the 3 logical operators?
What is an assembly qualified name? Is it a filename? How is it different?
Why do we use lambda expression in c#?
What is xml comments in c#?
What all details the assembly manifest will contain?
What language is c# similar to?
When should you use generics?
What is datatable and dataset in c#?
What is virtual in c#?
What are async and await?
Can you describe iuknown interface in short?
Can a class have static constructor?
How the versioning applies to Assemblies or can you explain version numbers?