public static void Main()
Console.WriteLine("Введіть масив: ");
int[] array = new int[5];
for(int index=0; index<array.Length; index++) {
Console.Write("введіть число [{0}] = ", index);
array[index] = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("----------------------");
for(int index=0; index<array.Length; index++) {
if (max < array[index]) {
Console.WriteLine("max number: " + max);