Търся по-рационално решение от моето за For Loop - Lab - 04. Even Powers of 2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication3
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            
            
            
            int stepCounter = 0;
            for (int i = 1; i <= n; i++)
            {
                
                if (i == 1)
                {
                    Console.WriteLine(1);
                }
                if (i%2==0)
                {
                    int step = 2;
                                       //2
                    for (int a = 2; a <= i; a++)
                    {
                        stepCounter *= step;
                        step *= 2;
                        
                    }
                    if (true)
                    {
                        Console.WriteLine(step);
                    }
                }
                
            }
            
        }
    }
}