|
namespace TradeWithNarnia.Trading
{
/// <summary>
/// Commodity class to encapsulate the names and other attributes of the commodities that can be potentially traded in the galaxy
/// </summary>
public class Commodity
{
private readonly string _name;
private readonly decimal _unitPrice;
public Commodity(string name_, decimal unitPrice_)
{
_name = name_;
_unitPrice = unitPrice_;
}
public string Name
{
get { return _name; }
}
public decimal UnitPrice
{
get { return _unitPrice; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I am Gaurav Chhatbar. I have got a total IT experience of 10 years that involves developing, leading, managing and delivering IT solutions for business.
My core expertise lies around Dot Net as well as Java technologies. In the past, I have developed / owned applications, primarily for:
Front Office Trading – Equities, Fixed Income as well as Structured Products
Private Wealth Management – Trading and CRM
For most of my career, I have worked for Morgan Stanley, Mumbai, India.
Gaurav Chhatbar
chhatbar@gmail.com