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
What is a thread? What is multithreading?
What are the types of attributes in c#?
What is the diff between the System.Array.CopyTo() and System.Array.Clone()?
What does namespace mean?
What is the difference between gettype and typeof in c#?
What is check/uncheck?
When a Static Constructor is called in a Class?
Does c# support #define for defining global constants?
What is polymorphism c# example?
What is data hiding in c#?
List the difference between the virtual method and the abstract method?
What are the 2 broad classifications of data types available in c#?
Define thread? Explain about multithreading?
What are All kind of access specifiers for a class and for methods
What is the use of inheritance in c#?