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
How can you force derived classes to provide new method implementations for virtual methods?
What is the use of regex in c#?
What is called method in c#?
What is difference between field and property in c#?
What is parsing?
What operators can be used to cast from one reference type to another without the risk of throwing an exception?
What is a reference type c#?
What are methods c#?
Can a child class call the constructor of a base class?
What is the difference between Object and class adapters?
What is the difference between method and function in c#?
Does c# support multiple class inheritance?
Can constructor be protected?
How to reverse each word in a string using c#?
What is the difference between double and decimal in c#?