Dictionary<string,decimal> rates = new Dictionary<string,decimal>(); rates.Add("dollortorupee", 2.0); rates.Add("rupeetodollor", 0.5); decimal converted = moneyvalue * rates["dollortorupee"];
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)