0

pricelist

How to create Pricelist on C#, please help mi out?

c#

10/29/2018 2:11:29 PM

Isaac Aku

1 Answer

New Answer

+1

You could use a Dictionary<U,V> so long as your items are all named differently. Dictionary<string, float> priceList = new Dictionary<string, float>(); priceList.Add("Socks", 4.99f); priceList.Add("Pants", 5.99f); priceList.Add("T-Shirt", 14.99f); And so on.....