When to use the "as" keyword and when to use () casting?
Possible Duplicate:
Direct casting vs 'as' operator?
as doesn't throw an exception, but wouldn't it result in a NullPointerException later? doesn't it make it harder to debug?
在使用as之后,您应该始终检查null。
链接地址: http://www.djcxy.com/p/73744.html