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'
1.4m articles
1.4m replys
5 comments
57.0k users