static void Main(string[] args) { string[] strs = new string[] { "apple", "potato", "car", "cat", "dog", "sheep", "Trump" }; StringSet TestSet = new StringSet(strs); TestSet.Print(); ; Console.Read(); }