Boolean
using System;
// Boolean variables can have either true or false as their values.
public class TestBoolean
{
static void Main(String[] args)
{
Boolean a = true, b = false;
if (a && b) {
Console.WriteLine("Inside if");
} else {
Console.WriteLine("Inside else");
}
Console.ReadLine();
}
}
Output:
Inside else