C# Class Project.Store

Afficher le fichier Open project: dibagaran/cs-2015-7-alpha

Méthodes publiques

Méthode Description
AddProduct ( string name, double price, int count ) : bool
Report ( ) : string
Trade ( string name, int count ) : bool

Private Methods

Méthode Description
IndexOf ( string name ) : int

Method Details

AddProduct() public méthode

public AddProduct ( string name, double price, int count ) : bool
name string
price double
count int
Résultat bool

Report() public méthode

public Report ( ) : string
Résultat string

Trade() public méthode

public Trade ( string name, int count ) : bool
name string
count int
Résultat bool