c# negation

C#
// The or statement in C# is ||
if (a == b || a == c)
{
  // Do something
}//The or Symbol Is ||bool passed = false;
Console.WriteLine(!passed);  // output: True
Console.WriteLine(!true);    // output: False

Source

Also in C#: