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