I know of is and as for instanceof, but what about the reflective isInstance() method?
is
as
instanceof
bool result = (obj is MyClass); // Better than using 'as'
2.1m questions
2.1m answers
60 comments
57.0k users