not keyword c# code example
Example 1: c# not
//the not operator of c sharp is "!" you can basicly revers a if statement!
if(a != 0)
{
//if a is not equals to 0
}
Example 2: c# is not
if(!(child is IContainer))
//the not operator of c sharp is "!" you can basicly revers a if statement!
if(a != 0)
{
//if a is not equals to 0
}
if(!(child is IContainer))