Пример #1
0
 public static void MethodB()
 {
     Printer p = Printer.GetInstance();
 }
Пример #2
0
        public void CreateInstance()
        {
            Printer printer = Printer.GetInstance();

            printer.Print("Client B document");
        }