asp.net(c#)中String.Empty、NULL、"" 三者到底有啥区别和联系?

开门见山,首先看下面代码,你认为结果分别是什么? string str = string.Empty; string str1 = ""; string str2 = null; bool t = string.IsNullOrEmpty(str); bool t1 = string.IsNullOrEmpty(str1); bool t2 = string.IsNullOrEmpty(str2)
相关文章
相关标签/搜索