Пример #1
0
        public void MakeCallToPerson()
        {
            PhoneService ps = new PhoneService();

            Pattern.ITelePhone phone = new MobilePhone();
            ps.CallNumber(phone, "13524343720");
        }
Пример #2
0
 public void MakeCallToPerson()
 {
     PhoneService ps = new PhoneService();
     Pattern.ITelePhone phone = new MobilePhone();
     ps.CallNumber(phone, "13524343720");
 }