摘要: 1、obj.tostring() obj为空时,抛异常。 2、convert.tostring(obj) obj为空时,返回null; 3、(string)obj obj为空时,返回null;obj不是string类型时,抛异常。 4、obj as string obj为空时,返回null; 阅读全文
posted @ 2017-07-03 11:31 snake1118 阅读(1136) 评论(0) 推荐(0) 编辑