using System;
public class Program
{
public static void Main()
// something that is not true is going to be false.
bool a = true;
bool b = false;
Console.WriteLine(a);
Console.WriteLine(b);
// Not ! values printing
Console.WriteLine(!a); // ! not operator
Console.WriteLine(!b); // !not operator
Console.WriteLine( a && b); // and operator && ; both must be true to get a true result otherwise it will be false. strict.
Console.WriteLine(a || b); // or operator || ; only 1 need to be true to get true result. true or false = true.
// same conditions retyped using true or false statements. Easier to understand.
Console.WriteLine(!true);
Console.WriteLine(!false);
Console.WriteLine( true && false);
Console.WriteLine( true || false);
}