using System;
public class Program
{
public static void Main()
for (int i = 1; i <= 5; i++)
Console.WriteLine(i);
}
Console.WriteLine("\nCurly braces are optional if the body of the loop contains only one statement.\n");
for (int j = 1; j <= 5; j++)
Console.WriteLine(j);