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
How Reflection is used and what it's significance ?
What is Covariance and contravariance in C#?
What’s thread.sleep() in threading ?
what is the syntax to inherit from a class in c#?
What is the default value of boolean variable?
What is the difference between list and array in c#?
What does immutable mean in c#?
What is difference between dictionary and hashtable?
Define an assembly in .net?
What is ilist c#?
What is the syntax for calling an overloaded constructor within a constructor?
Is array passed by reference in c#?
What is a bool in c#?
write a C# Program add two matrix ?
Describe the ways of cleaning up objects in c#.