Пример #1
0
 public void Display(Customer customer)
 {
     if (customer == null)
     Console.WriteLine("no name");
       else Console.WriteLine(customer.Name);
 }
Пример #2
0
 public Dummy()
 {
     var customer = new Customer("dummy");
 }