using System.Collections.Generic;
public static void Main()
Console.WriteLine("Hello World");
Customer customer1 = new Customer("andrzej");
Customer customer2 = new Customer("marek");
Customer customer3 = new Customer("guwnop");
List<Customer> customers = new List<Customer>{customer1, customer2, customer3};
foreach (Customer customer in customers)
Console.Write(customer.Name + "\n");
public string Name { get; set; }
public Customer(string name)