for (i = 0; i <= a.GetUpperBound(0); i++) { t = arbit.Next(1, 10); if (Array.IndexOf(a, t) == -1) { a[i] = t; } else { goto X; } }
t = arbit.Next(1, 10);
arbit
Random arbit= new Random();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)