static void Main(string[] args) { CustomerManager customerManager = new CustomerManager(); customerManager.Add(); customerManager.update(); ProductManager productManager = new ProductManager(); productManager.Add(); productManager.update(); Customer customer = new Customer(); customer.City = "Ankara"; customer.Id = 1; customer.FirstName = "Engin"; customer.LastName = "Demiroğ"; Customer customer2 = new Customer { Id = 2, City = "İstanbul", FirstName = "Derin", LastName = "Demiroğ" }; Console.WriteLine(customer2.FirstName); Console.ReadLine(); }
static void Main(string[] args) { CustomerManager customerManager = new CustomerManager(); customerManager.Add(); customerManager.Delete(); customerManager.update(); ProductManager productManager = new ProductManager(); productManager.update(); productManager.Delete(); productManager.Add(); Customer customer = new Customer(); customer.City = "Ankara"; customer.FirstName = "Alp"; customer.LastName = "Esen"; Customer customer2 = new Customer { FirstName = "asd", LastName = "sdasd", City = "asdas" }; Console.WriteLine(customer2.FirstName); Console.ReadLine(); }
static void Main(string[] args) { CustomerManager customerManager = new CustomerManager(); customerManager.add(); customerManager.update(); ProductManager product = new ProductManager(); product.add(); product.update(); Customer customer = new Customer(); customer.customerInfo(); customer.firstName = "Enis"; customer.lastName = "Çeri"; customer.city = "İstanbul"; customer.id = 12; customer.customerInfo(); Console.Read(); }