ФІО = +380634393815 Запитання:Вопрос: Как масив передать как параметр. Ответ: using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication2 { class Program { static void fill_mas(double[] a, int max) {// функция заполняет масив for (int i = 0; i < max; i++) { Console.Write("Введите a[{0}] = ", i); a[i]=Convert.ToDouble(Console.ReadLine()); } return; } static void print_mas(double []a,int max) {// функция выводит масив for (int i = 0; i < max; i++) { Console.WriteLine("=>a[{0}] = {1}",i,a[i]); } return; } static void Main(string[] args) { const int max = 10; double[] mas = new double[max]; fill_mas(mas, max); print_mas(mas, max); Console.ReadKey(); } } } ====================================