C# 문자열 비교 3::Compare() 1. 사용 패턴 가) public static int Compare(string strA, string strB); 나) public static int Compare(string strA, string strB, StirngComparison comparisonType); 다) public static int Compare(string strA, string strB, bool ignoreCase, CultureInfo culture); 라) public static int Compare(string strA, string strB, CultureInfo culture, ComparisonOptions options); 마) public static int Co..
문자열 비교 메서드 1: Equals() 1. 사용 패턴 가) public bool Equals(string value); 나) public override bool Equals(object obj); 다) public bool Equals(string value, StringComparsion comparisonType); 라) public static bool Equals(string a, string b, stringComparison comparsionType); value: 비교할 문자열 obj: 비교할 객체 comparisonType: StringComparison 열거형 자료타입의 한 멤버 유형 기본적으로 “문자열1.Equals(문자열2)” 형태를 취하여 문자열1과 문자열2를 비교하여 그 b..
- Total
- Today
- Yesterday
- tistoy. drafts 4
- html. w3s
- headings
- STYLES
- marsedit
- Element
- 인용
- HTML5
- markdown
- 속성
- HTML 5
- testedit
- c#
- String
- 얼불노
- w3s
- 서식
- notpad
- formatting
- tistory
- 마틴
- compareTo()
- attribute
- compare()
- equals()
- 까마귀의 향연
- paragraphs
- 하
- 스타일
- html
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |