adspace
Answer Posted / Kishor Kumar Shukla
A static constructor in C# is called automatically before the first instance of a class is created. It cannot be explicitly called. The purpose of a static constructor is to initialize any static fields declared in the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers