如果需要转换的类型可能为null,如果使用tostring就可能引发错误,这时候可以使用convert.tostring方法。 相关文章: 2022-12-23 2021-10-03 2022-12-23 2022-12-23 2021-07-03 2022-12-23