Files
  • main.cs
  • main.exe
main.cs
1
2
3
4
5
6
7
8
9
10
11
using System;

class ForLoopExample {
    public static void Main() {
        for (int i = 1; i <= 5; i++)
        {
            Console.WriteLine(i);
        }
    }
}