isnt as a c# keyword
- by Mikael
To check if an object is of a certain class one can write:
if (item is Class)
why isn't the opposite possible?
if (item isnt Class)
instead one would write
if (!(item is Class)
which isn't as easy to read as if "isnt" was a keyword just as "is" is.
Is there something that makes it so that only "is" should be available or has "isnt" just been forgotten about?