Пример #1
0
        public object Clone()
        {
            IPStreamPairHashtable clone = new IPStreamPairHashtable();

            foreach (DictionaryEntry de in Dictionary)
            {
                clone.Add((uint)de.Key, (IPStreamPair)de.Value);
            }

            return(clone);
        }
Пример #2
0
        public object Clone()
        {
            IPStreamPairHashtable clone = new IPStreamPairHashtable();

            foreach(DictionaryEntry de in Dictionary)
            {
                clone.Add((uint)de.Key, (IPStreamPair)de.Value);
            }

            return clone;
        }