예제 #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;
        }