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
- c#
- headings
- w3s
- attribute
- 서식
- notpad
- marsedit
- 인용
- formatting
- HTML 5
- paragraphs
- html
- equals()
- String
- markdown
- HTML5
- tistory
- 스타일
- tistoy. drafts 4
- 하
- 마틴
- testedit
- 얼불노
- html. w3s
- 속성
- 까마귀의 향연
- compareTo()
- compare()
- STYLES
- Element
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
31 |