コード例 #1
0
        public void E3_TestLastInt32()
        {
            IL9 <String, Int32> collection = new L9 <String, Int32>();

            collection.Put("K2", 2);
            collection.Put("K4", 2);
            collection.Put("K3", 2);
            collection.Put("K5", 1);
            collection.Put("K1", 8);
            collection.Put("K5", 1);
            collection["K5"] = 5;
            Console.Out.WriteLine(collection.ToString());
            Assert.AreEqual(5, collection.Last());
        }