Beispiel #1
0
            public OrderPreservingDictionary <TKey, TValue> InReverseOrder()
            {
                var ret = new OrderPreservingDictionary <TKey, TValue>();

                foreach (var item in this.Reverse())
                {
                    ret.Add(item);
                }
                return(ret);
            }
 public void OrderPreservingDictionaryTest()
 {
     dict.Add(key1, val1);
     dict.Add(key2, val2);
     dict.Add(key3, val3);
 }