Загрузка данных


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    internal class Program
    {
        static void Main(string[] args)
        {
            int[] ar = { 5, 4, 3, 2 };
            IEnumerable<int> ie = ar;
            foreach (int i in ie)
            {
                Console.WriteLine(i);
            }
        }
    }
}