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
Explain the use of SN.exe
Which language is used for desktop application?
Is xamarin free?
What is javascriptserializer c#?
What is yield break in c#?
What is a dbml?
What is yield return in c#?
What are circular references? How garbage collection deals with circular references.
Does c# support templates?
What is class in oops with example in c#?
Why do we need static class in c#?
What are Regex / regular expressions ?
What is data binding c#?
Can we have static indexer in c#?
What is dependency injection in simple words?