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 regex c#?
How many types of constructors are there in c#?
In .Net, what is an assembly? Also explain the type of assembly.
Does constructor return any value in c#?
Difference between call by value and call by reference in C#?
What is array c#?
Why can't we use a static class instead of singleton?
What is iqueryable in linq?
In which order the constructor is called for an inherited class?
Define a partial class?
Name the property of the textbox which cannot be changed at runtime?
What is .cs file in c#?
What is the use of flag in c#?
What is constructor overloading in c#?
What is global namespace in c#?