Skip to content

char

API reference for char.

Properties

PropertyTypeAccess
MaxValuecharget
MinValuecharget

Methods

CompareTo

CompareTo(value: char) -> int
CompareTo(value: object) -> int

ConvertFromUtf32

static ConvertFromUtf32(utf32: int) -> string

ConvertToUtf32

static ConvertToUtf32(highSurrogate: char, lowSurrogate: char) -> int
static ConvertToUtf32(s: string, index: int) -> int

Equals

Equals(obj: char) -> bool
Equals(obj: object) -> bool

GetHashCode

GetHashCode() -> int

GetNumericValue

static GetNumericValue(c: char) -> double
static GetNumericValue(s: string, index: int) -> double

GetType

GetType() -> SystemType

GetUnicodeCategory

static GetUnicodeCategory(c: char) -> SystemGlobalizationUnicodeCategory
static GetUnicodeCategory(s: string, index: int) -> SystemGlobalizationUnicodeCategory

IsControl

static IsControl(c: char) -> bool
static IsControl(s: string, index: int) -> bool

IsDigit

static IsDigit(c: char) -> bool
static IsDigit(s: string, index: int) -> bool

IsHighSurrogate

static IsHighSurrogate(c: char) -> bool
static IsHighSurrogate(s: string, index: int) -> bool

IsLetter

static IsLetter(c: char) -> bool
static IsLetter(s: string, index: int) -> bool

IsLetterOrDigit

static IsLetterOrDigit(c: char) -> bool
static IsLetterOrDigit(s: string, index: int) -> bool

IsLower

static IsLower(c: char) -> bool
static IsLower(s: string, index: int) -> bool

IsLowSurrogate

static IsLowSurrogate(c: char) -> bool
static IsLowSurrogate(s: string, index: int) -> bool

IsNumber

static IsNumber(c: char) -> bool
static IsNumber(s: string, index: int) -> bool

IsPunctuation

static IsPunctuation(c: char) -> bool
static IsPunctuation(s: string, index: int) -> bool

IsSeparator

static IsSeparator(c: char) -> bool
static IsSeparator(s: string, index: int) -> bool

IsSurrogate

static IsSurrogate(c: char) -> bool
static IsSurrogate(s: string, index: int) -> bool

IsSurrogatePair

static IsSurrogatePair(highSurrogate: char, lowSurrogate: char) -> bool
static IsSurrogatePair(s: string, index: int) -> bool

IsSymbol

static IsSymbol(c: char) -> bool
static IsSymbol(s: string, index: int) -> bool

IsUpper

static IsUpper(c: char) -> bool
static IsUpper(s: string, index: int) -> bool

IsWhiteSpace

static IsWhiteSpace(c: char) -> bool
static IsWhiteSpace(s: string, index: int) -> bool

Parse

static Parse(s: string) -> char

ToLower

static ToLower(c: char, culture: SystemGlobalizationCultureInfo) -> char
static ToLower(c: char) -> char

ToLowerInvariant

static ToLowerInvariant(c: char) -> char

ToString

static ToString(c: char) -> string
ToString(provider: SystemIFormatProvider) -> string
ToString() -> string

ToUpper

static ToUpper(c: char, culture: SystemGlobalizationCultureInfo) -> char
static ToUpper(c: char) -> char

ToUpperInvariant

static ToUpperInvariant(c: char) -> char

TryParse

static TryParse(s: string, result: char) -> bool