Answer Posted / abhay k pandey
Static constructors can invoke mainly at two ocasions
1. Just before the first instance of the class is created [
in case this static contructor is there in non static class]
2. At the time any static member is accessed [ in case of
either static or non static classes ]
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Is c# front end or back end?
What is the difference between ienumerable and enumerable?
What is an arraylist in c#?
without modifying source code if we compile again, will it be generated MSIL again?
what is a static constructor?
What is func c#?
Why main method is static in c#?
List some of the basic string operation?
List down the commonly used types of exceptions in .net
Is array a collection c#?
Why is xml called extensible?
What are reflections in c#?
When can a derived class override a base class member?
Describe ways of cleaning up objects in c#.
Is there throws keyword in c#?