as运算符

<operand> as <type>

之适用于下列情况:

<operand>类型是<type>类型

<operand>可以隐式转换为<type>类型

<operand>可以封箱到<type>类型中

posted @ 2011-07-18 15:26  绯色卡卡  阅读(144)  评论(0)    收藏  举报