C# Class Acme.Biz.Product

Manage products carried in repository
Datei anzeigen Open project: DeborahK/CSharpBP-Collections Class Usage Examples

Public Methods

Method Description
CalculateSuggestedPrice ( decimal markupPercent ) : decimal

Calculates the suggested retail price

Product ( ) : System
Product ( int productId, string productName, string description ) : System
ToString ( ) : string

Method Details

CalculateSuggestedPrice() public method

Calculates the suggested retail price
public CalculateSuggestedPrice ( decimal markupPercent ) : decimal
markupPercent decimal Percent used to mark up the cost.
return decimal

Product() public method

public Product ( ) : System
return System

Product() public method

public Product ( int productId, string productName, string description ) : System
productId int
productName string
description string
return System

ToString() public method

public ToString ( ) : string
return string