Public const char MaxValue public const char MinValue
, Char : I Comparable, IComparable<char>, IConvertible IEquatable<char>.
21.9. , Char
public int CompareTo(char value)
public int CompareTo(object value)
public static string ConvertFromUtf32(int utf32)
value. , ; , ; , , , value. , ; , ; , , , , utf32 UTF-32, UTF-16
_ . 21.9
Pubic static int
,
ConvertToUtf*32 (char
highSurrogate
highSurrogate, char
lowSurrogate UTF-16,
lowSurrogate)
UTF-32
Pubic static int
UTF-16,
ConvertToUtf32(string s, int
index)
s [index], UTF-32
public bool Equals(char obj)
true, obj
Public override bool
true,
Equals(object obj)
obj
Public override int
-
GetHashCode()
Public static double
,
GetNumericValue(char c)
. -1
Public static double
,
GetNumericValue(string s, int
s [index],
index)
. -1
Public TypeCode GetTypeCode()
TypeCode Char, .. TypeCode. Char
Public static UnicodeCategory
GetUnicodeCategory(char c)
|
|
UnicodeCategory . UnicodeCategory System.Globalization
Public static UnicodeCategory
GetUnicodeCategory(string s,
UnicodeCategory ,
int index)
s [index]. UnicodeCategory System.Globalization
Public static bool
true,
IsControl(char c)
, false
Public static bool
true,
IsControl(string s, int
, s [ index ],
index)
, false
Public static bool
true,
IsDigit(char c)
, false
Public static bool
true,
IsDigit(string s, int index)
, s [index ],
,
false
Public static bool
true,
IsHighSurrogate(char c)
UTF-32, false
Public static bool
true,
IsHighSurrogate(string
sr int
,
index)
s [ index], UTF-32, false
Public static bool
true,
IsLetter(char c)
, false
Public static bool
true,
IsLetter(string s, int
index)
, s [index ], , false
Public static bool
true,
IsLetterOrDigit(char c)
, false
Public static bool
true,
IsLetterOrDigit(string
s, int
, s [ index ],
index)
, false
Public static bool
true,
|
|
IsLower(char c)
, false
Public static bool
true,
IsLower(string s, int index)
, s [index ],
,
false
Public static bool
true,
IsLowSurrogate(char c)
UTF-32, false
Public static bool
true,
IsLowSurrogate(string s
, int
,
index)
s [ index], UTF-32, false
Public static bool
true,
IsNumber(char c)
( ), false
Public static bool
true,
IsNumber(string s, int
index)
, s [ index], ( ), false
Public static bool
true,
IsPunctuation(char c)
, false
Public static bool
true,
IsPunctuation(string s
, int
, s [index ],
index)
, false
Public static bool
true,
IsSeparator(char c)
, false
Public static bool
true,
IsSeparator(string s,
Int
, s [ index ],
index)
, false
Public static bool
true,
IsSurrogate(char c)
, false
Public static bool
true,
IsSurrogate(string s, int index)
,
s [ index],
, false
Public static bool
true,
IsSurrogatePair(char
highSurrogate
highSurrogate, char
lowSurrogate
lowSurrogate)
Public static bool
true,
IsSymbol(char c)
, , false
Public static bool
true,
IsSymbol(string s, int
index)
|
|
, s [ index ], , , false
Public static bool
true,
IsUpper(char c)
, false
Public static bool
true,
IsUpper(string s, int
index)
, s [ index ], , false
Public static
Bool
true,
IsWhiteSpace(char c)
,
,
false
Public static
Bool
true,
IsWhiteSpace(string s, int
,
index)
s [ index], , , false
Public static
Char
char
Parse (string,
s)
s. s ,
FormatException
Public static
Char
,
ToLower(char
C)
.
Public static
Char
,
ToLower(char <
C, Culturelnfo
.
culture)
. , culture, Culturelnfo , System.Globalization
Public static
Char
ToLowerlnvariant(char c)
Public override string
ToString()
Char
Public static
String
ToString(char
c)
Public string
ToString(IFormatProvider
Char
provi der)
, provider
Public static
Char
,
ToUpper(char <
c)
.
Public static
Char
,
ToUpper(char i
c, Culturelnfo
.
|
|
culture)
. , culture, Culturelnfo , System. Globalization
. 21.9
public static char ■ ToUpperlnvariant(char c) public' static bool TryParse(string s, out char result)
s char. result true. s , false, Parse (),