Convert.ToString和ToString的区别

Convert.ToString能处理字符串为null的情况,不抛出异常

ToString方法不能处理字符串为null的情况,会抛出异常。如:“未将对象引用设置到对象的实例”。

原文地址:https://www.cnblogs.com/yaosuc/p/4527775.html