public void R() { Dictionary <Enum, int> id = new Dictionary <Enum, int>(); Roman r = Roman.Roman; Bushuev b = Bushuev.One; id.Add(r, 1); id.Add(b, 2); if (id.ContainsKey(Roman.Roman)) { Console.WriteLine("true"); } else { Console.WriteLine("false"); } }
public void TestDictionary() { Roman roman = (Roman)Get <Roman>("roman"); Bushuev one = Get <Bushuev>("one"); }