class MainClass { public static void Main() { bool result; result = (1 == 1) && (2 > 1); System.Console.WriteLine("(1 == 1) && (2 > 1) is " + result); result = (1 == 1) && (2 < 1); System.Console.WriteLine("(1 == 1) && (2 < 1) is " + result); } }
(1 == 1) && (2 > 1) is True (1 == 1) && (2 < 1) is False