Which of the following statements are correct about static constructors ?
1. Access modifiers are not allowed on static constructors.
2. A static constructor must be parameter less.
3. A static constructor is executed only one time during object life time.
4. CLR calls Static constructor before creating first instance of an instance class.
Statements 1&3 are correct.
Statements 2&3 are correct.
Statements 1,2&4 are correct.
All the statements are correct.
Back To Top