示例#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);
        }
示例#2
0
 public void AddCustomer(CustomeManager customeManager)
 {
     customeManager.Add();
 }