C# Class MusicShop.Models.Guitar

Inheritance: Instrument, IGuitar
显示文件 Open project: Y-LyN-10/Software-University-Courses

Protected Properties

Property Type Description
bodyWood string
fingerboardWood string

Public Methods

Method Description
ToString ( ) : string

Protected Methods

Method Description
Guitar ( string make, string model, decimal price, string color, string bodyWood, string fingerboardWood, int numberOfStrings, bool isElectronic ) : System

Method Details

Guitar() protected method

protected Guitar ( string make, string model, decimal price, string color, string bodyWood, string fingerboardWood, int numberOfStrings, bool isElectronic ) : System
make string
model string
price decimal
color string
bodyWood string
fingerboardWood string
numberOfStrings int
isElectronic bool
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

bodyWood protected_oe property

protected string bodyWood
return string

fingerboardWood protected_oe property

protected string fingerboardWood
return string