static void Main(string[] args) { RealCustomer customer1 = new RealCustomer(); customer1.Id = 1; customer1.Number = "123456"; customer1.FirstName = "Sabır"; customer1.LastName = "Akbana"; customer1.TcNo = "12345678910"; CorporateCustomer customer2 = new CorporateCustomer(); customer2.Id = 2; customer2.Number = "54321"; customer2.CompanyName = "Kodlama.io"; customer2.TaxNo = "1234567890"; Customer customer3 = new RealCustomer(); Customer customer4 = new CorporateCustomer(); CustomerManager customerManager = new CustomerManager(); customerManager.Add(customer1); customerManager.Add(customer2); customerManager.Add(customer3); customerManager.Add(customer4); }
static void Main(string[] args) { IndividualCustomer customer1 = new IndividualCustomer(); customer1.Id = 1; customer1.CustomerNumber = "1234567"; customer1.Name = "Abuzittin"; customer1.Surname = "Killibacak"; customer1.TcNo = "11111111111"; //Şirket CorporateCustomer customer2 = new CorporateCustomer(); customer2.Id = 2; customer2.CustomerNumber = "7654321"; customer2.CompanyName = "ToprakAtanOgullari"; customer2.TaxNo = "654123"; Customer customer3 = new IndividualCustomer(); Customer customer4 = new CorporateCustomer(); CustomerManager customerManager = new CustomerManager(); customerManager.Add(customer1); customerManager.Add(customer2); customerManager.Add(customer3); customerManager.Add(customer4); }
static void Main(string[] args) { IndividualCustomer customer1 = new IndividualCustomer(); customer1.Id = 1; customer1.Name = "Engin"; customer1.Surname = "Demiroğ"; customer1.CitizenshipNo = "123456"; customer1.CustomerNo = "123"; CorporateCustomer customer2 = new CorporateCustomer(); customer2.Id = 2; customer2.CustomerNo = "321"; customer2.CompanyName = "KodlamaIO"; customer2.TaxId = "9876541"; // Gerçek Müşteri - Tüzel Müşteri //SOLİD yazılım geliştirme sistemi - 'L' Customer customer3 = new IndividualCustomer(); Customer customer4 = new CorporateCustomer(); CustomerManager customerManager = new CustomerManager(); customerManager.Add(customer1); customerManager.Add(customer2); customerManager.Add(customer3); customerManager.Add(customer4); }