using System;
public class Program
{
public static void Main()
int[] x = new int[9];
Random r = new Random();
for (int i = 0; i < x.Length; )
bool yok = true;
int sayi = r.Next(1,10) ;
for (int k = 0; k < x.Length; k++)
if (sayi == x[k]) { yok = false; break; }
}
if (yok)
x[i] = sayi;
i++;
foreach (int i in x)
Console.Write(i);