object转为string

object为null时 

错误:object.tostring() 空指针

正确:(string)object  

posted @ 2019-11-02 10:41  yomi丶  阅读(134)  评论(0)    收藏  举报