string.IsNullOrEmpty(문자열)을 통해 기능을 사용할 수 있다.
string str1 = string.empty; string str2 = "2"; if(string.IsNullOrEmpty(str1) == "1" || string.IsNullOrEmpty(str2) == "1") { return true; } return false;
string str1 = string.empty; string str2 = "2";
if(string.IsNullOrEmpty(str1) == "1" || string.IsNullOrEmpty(str2) == "1") { return true; }
return false;