Sounds like you should use the "dictionary" generic collection, with for example the item id as a key and price as a value.
If you want to have more information in the collection you can even store instances of a item class in the dictionary. So if your item class has properties like id, name, description, price, you can do things like
Dictionary<int, item> items = new Dictionary<int, item>();
items.add(myitem.id, myitem);
Then for any item ID you could access the information like this
string description = items[id].description;
decimal price = items[id].price;