public static void Main()
Console.WriteLine("Enter the value of n");
n=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter elements into the array");
a[i]=Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Number of non-unique elements in the given array are {0}",t);