A Dictionary<TKey, TValue> stores key-value pairs.

using System.Collections.Generic;

Dictionary<string, int> prices =
    new Dictionary<string, int>();

prices.Add("Sword", 250);
prices["Pickaxe"] = 100;
if (prices.ContainsKey("Sword"))
{
    Debug.Log(prices["Sword"]);
}