public static void Main(string[] args)
int[] tömb = new int [N];
Random rnd = new Random();
tömb[i] = rnd.Next(200, 500);}
max = tömb[0]; min = tömb[0];
while (j<N && tömb[j]!=szám){
Console.WriteLine("Indexe: {0}", j+1);
Console.WriteLine("A legnagyobb szám:" +max);
Console.WriteLine("A legkisebb szám:" +min);