public static void Main()
Console.Write("Hány elemű legyen a tömb? ");
int n = int.Parse(Console.ReadLine());
for (int i = 0; i < tomb.Length; i++)
Random rnd = new Random();
int pcnum = rnd.Next(1, 100);
Console.WriteLine("{0}. {1}",i+1, tomb[i]);
int[] p_tomb = new int[n];
for (int i = 0; i<tomb.Length; i++)
Console.WriteLine("----------------------------");
for (int i = 0; i < p_tomb.Length; i++)
Console.WriteLine("Összesen {0} páros szám van.",b);
Console.WriteLine("----------------------------");
for (int i = 0; i<p_tomb.Length; i++)
Console.WriteLine(p_tomb[i]);