string str = "";
str = "我是谁?";
str = "";
string str = "";
if (!string.IsNullOrEmpty(str))
{
// 代码片段
}
C#中String如何判断是否为空
最新推荐文章于 2023-10-24 14:08:50 发布
string str = "";
str = "我是谁?";
str = "";
string str = "";
if (!string.IsNullOrEmpty(str))
{
// 代码片段
}