Home / Engineering / C# .Net Programing / Question

R

Ram Sharma • 188.81K Points
Coach

Q.) A static constructor_____________.

(A) Can be accessed through an object name.
(B) Is executed when the class is loaded.
(C) Can have its own destructor.
(D) Can be executed any number of times.
Correct answer : Option (B) - Is executed when the class is loaded.

Share

Discusssion

Login to discuss.