C# Class Polymorphism.IphoneMobile

Inheritance: Mobile
显示文件 Open project: fahidnasir/DotNet-ShortCourse2015

Public Methods

Method Description
IphoneMobile ( string serialNumber ) : System
MakeCall ( string phoneNumber ) : bool
SendSMS ( string phoneNumber, string smsText ) : bool

Method Details

IphoneMobile() public method

public IphoneMobile ( string serialNumber ) : System
serialNumber string
return System

MakeCall() public method

public MakeCall ( string phoneNumber ) : bool
phoneNumber string
return bool

SendSMS() public method

public SendSMS ( string phoneNumber, string smsText ) : bool
phoneNumber string
smsText string
return bool