static void Main(string[] args)
 {
     //RandomArrayNoDuplicates newRandom = new RandomArrayNoDuplicates();
     int[] array = RandomArrayNoDuplicates.InitializeArrayWithNoDuplicates(5);
     RandomArrayNoDuplicates.DisplayArray(array);
     Console.WriteLine("\n");
     int[] array1 = RandomArrayNoDuplicates.InitializeArrayWithNoDuplicates(6);
     RandomArrayNoDuplicates.DisplayArray(array1);
     Console.WriteLine("\n");
     int[] array2 = RandomArrayNoDuplicates.InitializeArrayWithNoDuplicates(8);
     RandomArrayNoDuplicates.DisplayArray(array2);
     Console.WriteLine("\n");
 }
示例#2
0
 static void Main(string[] args)
 {
     DisplayArray(RandomArrayNoDuplicates.InitializeArrayWithNoDuplicates(20));
     Console.ReadLine();
 }