IsNullOrEmpty 썸네일형 리스트형 [우주방랑자 서파르타] String.IsNullOrEmpty(String) / 문자열 null 체크 public static bool IsNullOrEmpty (string value); 지정된 문자열이 null이거나 빈 문자열("")인지를 나타내며 Boolean으로 반환한다. String.IsNullOrEmpty(string)는 아래의 코드와 동일하다. 1 2 3 4 5 6 bool TestForNullOrEmpty(string s) { bool result; result = s == null || s == string.Empty; return result; } Colored by Color Scripter cs www.acmicpc.net/problem/10951 10951번: A+B - 4 두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. www.acmicpc.net W.. 더보기 이전 1 다음