IsNullOrWhiteSpace和IsNullOrEmpty区别
时间:2021-06-30 18:35:25
收藏:0
阅读:0
string.IsNullOrEmpty:只能控制null和""
string.IsNullOrWhiteSpace:控制null、""、" "(引号里面带空格)
评论(0)
string.IsNullOrEmpty:只能控制null和""
string.IsNullOrWhiteSpace:控制null、""、" "(引号里面带空格)