Can Singleton in C# have a constructor different from private parameterless?
In various tutorials like this singleton class has only one private parameterless constructor. Is it correct to assume that every singleton use private parameterless constructor? Or there are other options possible?
Aucun commentaire:
Enregistrer un commentaire