Static constructors are called before any other class members are called and called once only.Their main purpose is to initialize only the static members of a class. Static constructors cannot be overloaded.

C# - Static constructor cannot be overloaded
No comments:
Post a Comment