using System.Collections.Generic;
public static void Main()
HashSet<string> MyHash = new HashSet<string>();
Console.WriteLine("Elements in My Hash1:");
foreach(var val in MyHash)
HashSet<int> MyHash2 = new HashSet<int>() {1,2,3,4,5,6,7,8,9};
Console.WriteLine("Elements in My Hash2:");
foreach(var val1 in MyHash2)