Question d’entretien chez Siemens

Write a Singleton class.

Réponse à la question d'entretien

Utilisateur anonyme

6 juil. 2018

public sealed class ABC { Private static ABC instance; Public ABC GetInstance() { if(instance == null) instance = new ABC(); return instance; } }