Join Slack
Powered by
Hi. There is something i been wondering for a whil...
# announcements
n
nekoinemo
07/14/2017, 11:26 AM
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?
2
Views
Open in Slack
Previous
Next