adspace
Answer Posted / Vicky Sharma
A static constructor in C# is a special method that initializes shared data for a class. Unlike other constructors, it cannot take parameters and cannot be overloaded or invoked directly. A static constructor runs automatically when the class is first accessed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers