VBAHole22 Posted April 26, 2005 Posted April 26, 2005 I am checking the type of an object at runtime and I want to see if it is the same type as another object. So I go if (pLayer is ICompositeLayer) { Do some shiznit } What would the C# syntax be if I wanted to test if something was NOT a certain type? Basically how can I ! the is operator? Quote Wanna-Be C# Superstar
IngisKahn Posted April 26, 2005 Posted April 26, 2005 !(pLayer is ICompositeLayer) :) Quote "Who is John Galt?"
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.