If Statement
using System;
// If statement executes a series of statements if a test boolean expression evaluates to true.
class TestIf
{
static void Main(string[] args)
{
int first_num = 10;
int second_num = 5;
if (first_num > second_num)
{
Console.WriteLine("First number is greater than Second number");
}
Console.ReadLine();
}
}
Output:
First number is greater than Second number