Char Structure |
Namespace: System
[SerializableAttribute] public struct Char : IComparable, IConvertible, IComparable<char>, IEquatable<char>
The Char type exposes the following members.
Name | Description | |
---|---|---|
Equals(Char) | Returns a value that indicates whether this instance is equal to the specified Char object. | |
Equals(Object) | Returns a value that indicates whether this instance is equal to a specified object. (Overrides ValueTypeEquals(Object).) | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsControl(Char) | Indicates whether the specified Unicode character is categorized as a control character. | |
IsControl(String, Int32) | Indicates whether the character at the specified position in a specified string is categorized as a control character. | |
IsDigit(Char) | Indicates whether the specified Unicode character is categorized as a decimal digit. | |
IsDigit(String, Int32) | Indicates whether the character at the specified position in a specified string is categorized as a decimal digit. | |
IsLetter(Char) | Indicates whether the specified Unicode character is categorized as a Unicode letter. | |
IsLetter(String, Int32) | Indicates whether the character at the specified position in a specified string is categorized as a Unicode letter. | |
IsLetterOrDigit(Char) | Indicates whether the specified Unicode character is categorized as a letter or a decimal digit. | |
IsLetterOrDigit(String, Int32) | Indicates whether the character at the specified position in a specified string is categorized as a letter or a decimal digit. | |
IsLower(Char) | Indicates whether the specified Unicode character is categorized as a lowercase letter. | |
IsLower(String, Int32) | Indicates whether the character at the specified position in a specified string is categorized as a lowercase letter. | |
IsSurrogate(Char) | Indicates whether the specified character has a surrogate code unit. | |
IsSurrogate(String, Int32) | Indicates whether the character at the specified position in a specified string has a surrogate code unit. | |
IsUpper(Char) | Indicates whether the specified Unicode character is categorized as an uppercase letter. | |
IsUpper(String, Int32) | Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter. | |
IsWhiteSpace(Char) | Indicates whether the specified Unicode character is categorized as white space. | |
IsWhiteSpace(String, Int32) | Indicates whether the character at the specified position in a specified string is categorized as white space. | |
ToString | Converts the value of this instance to its equivalent string representation. (Overrides ValueTypeToString.) | |
ToString(IFormatProvider) | Converts the value of this instance to its equivalent string representation using the specified culture-specific format information. | |
ToString(Char) | Converts the specified Unicode character to its equivalent string representation. |
Name | Description | |
---|---|---|
MaxValue | Represents the largest possible value of a Char. This field is constant. | |
MinValue | Represents the smallest possible value of a Char. This field is constant. |