示例#1
0
        public void E3_TestGetAtException()
        {
            IL9 <String, Int32> collection = new L9 <String, Int32>();

            collection.Put("K1", 1);
            collection.Put("K2", 2);
            collection.GetAt(20);
        }
示例#2
0
        public void E4_TestIEnumerableInitializeInt32Value()
        {
            IL9 <String, Int32> collection = new L9 <String, Int32>()
            {
                { "K2", 1 }, { "K1", 1 }
            };

            Console.Out.WriteLine(collection.ToString());
            Assert.AreEqual(1, collection.GetAt(0).Value);
        }