using System; using System.Collections; using System.Collections.Generic; class Example { public static void Main() { Random r = new Random(); int[] a = new int[10]; for (int j=0; j<10; j++) { a[j] = r.Next(6); Console.Write("{0} ",a[j]); } Console.WriteLine(); List l = new List(a.Length); for (int k=0; k