if and operator c# code example
Example: c# negation
bool passed = false;
Console.WriteLine(!passed); // output: True
Console.WriteLine(!true); // output: False
bool passed = false;
Console.WriteLine(!passed); // output: True
Console.WriteLine(!true); // output: False