Changes

C Sharp Operators and Expressions

1 byte added, 21:50, 14 January 2008
Boolean Logical Operators
if ((10 < 20) || (20 < 10))
System.Console.WriteLine("Expression is true");
</pre>
The AND (&&) operator returns ''true'' only if both operands evaluate to be true. The following example will return ''false'' because only one of the two operand expressions evaluates to'' true'':