Esempio n. 1
0
        static void Main(string[] args)
        {
            // interface new lenemez



            CustomeManager ccutomerManager = new CustomeManager(); // interface referans tip : onu implemente eden clasın referans nosunu tutabilir

            IPersonManager emloyeeManager = new EmployeeManager();

            ProjectManager projectManager = new ProjectManager();

            projectManager.AddCustomer(customerManager);
        }
Esempio n. 2
0
 public void AddCustomer(CustomeManager customeManager)
 {
     customeManager.Add();
 }