static void Part2() { HashSet <object> Collection = new HashSet <object>(); HashSetController.Add(Collection, 11); HashSetController.Add(Collection, 'a'); HashSetController.Add(Collection, 11.11); HashSetController.Add(Collection, "asdasd"); HashSetController.Info(Collection); Console.WriteLine("__________________________________________________"); HashSetController.RemoveAt(Collection, 3); HashSetController.Info(Collection); Console.WriteLine("__________________________________________________"); HashSetController.Add(Collection, 78); HashSetController.Add(Collection, 24.44); HashSetController.Add(Collection, 'd'); HashSetController.Info(Collection); Console.WriteLine("__________________________________________________"); List <object> CollectionList = new List <object>(); HashSetController.CopyTo(Collection, CollectionList); ListController.Info(CollectionList); Console.WriteLine("__________________________________________________"); ListController.Find(CollectionList, 78); }