false expressions for operators
class MainClass
{
public static void Main()
{
bool result;
result = 10 == 1;
System.Console.WriteLine("10 == 1 is " + result);
result = 10 < 1;
System.Console.WriteLine("10 < 1 is " + result);
result = 10 <= 1;
System.Console.WriteLine("10 <= 1 is " + result);
}
}
Output 10 == 1 is False
10
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
|