Hi. There is something i been wondering for a whil...
# announcements
n
Hi. There is something i been wondering for a while: why does
as?
gives Unchecked Cast warning? Isn't
instance as? MyClass
pretty much a shortcut for
if(instance is MyClass) instance as MyClass else null
which IS the checked cast?