private static Hashtable ConcatHashtables(Hashtable first, Hashtable second) { foreach (DictionaryEntry item in second) { first[item.Key] = item.Value; } return first; } }