using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
int[] array1 = new int[3];
int[] array2 = new int[3];
Random zufall = new Random();
for(int i =0; i<3;i++)
{
array1[i] = zufall.Next(1,10);
array2[i] = zufall.Next(1,10);
}
for(int i =0; i<3; i++)
{
Console.WriteLine(array1[i]);
Console.WriteLine(array2[i]);
}
Console.Read();
}
}
}
|