Question d’entretien chez Chetu

what is static constructor in c#?

Réponse à la question d'entretien

Utilisateur anonyme

8 déc. 2021

A static constructor is used to initialize any static data, or to perform a particular action that needs to be performed only once. It is called automatically before the first instance is created or any static members are referenced.