I have values that have decimals that I would like to store in a dictionary for easy access. However in C# it only allows a string and an int. Is there another way I can achieve similar results?
This is my code:
littledictionary.Add("price", (float)0.0);
littledictionary["price"] = (float)SQLreader["price"];