Comparison operators in c# code example
Example 1: how to say or in c#
//To say or in c#:
if (a>0 || b<5)
{
//Or in C# is 2 bars, "||"
}
Example 2: c# is not
if(!(child is IContainer))
//To say or in c#:
if (a>0 || b<5)
{
//Or in C# is 2 bars, "||"
}
if(!(child is IContainer))