Block Example
using System;
public class BlockDemo
{ // begin block 1
static void Main(String[] args)
{ // begin block 2
bool condition = true;
if (condition)
{ // begin block 3
Console.WriteLine("Condition is true.");
} // end block 3
else
{ // begin block 4
Console.WriteLine("Condition is false.");
} // end block 4
Console.ReadLine();
}// end block 2
}// end block 1
Output:
Condition is true.