mardi 1 juin 2021

My query is to make a single instance of a static class but ensure that no other instance of static class is there

I am new in C# and my question is to create single instance of a static c# class but we don't want to use singleton pattern for it. How would you suggest to create single instance of a static class?

Aucun commentaire:

Enregistrer un commentaire