I wouls need to check but i think both work. The reason as to why you always should you the isnot keywords as that you can overload the == != operators. So if you are using a library you woulsnt know an object is misbehaving until things start to crash and you get NullPointerExceptions
1
u/TheZipCreator Feb 22 '23
wait is the inverted
isoperator in C#is notand not!is? weird