2.1: Boolean Logic
Comparison Operators
Boolean Logic - if
class Program
{
static void Main(string[] args)
{
//1
int value = 5;
//2
if (value < 10)
{
//3
Console.WriteLine("Yes, the expression is true");
}
}
}Visual Representation
Last updated