Skip to content

Tag Archives: CSharp-Char-Struct

In C#, Char Struct is used to represent a character as UTF-16 code unit. This structure is defined under System namespace. Basically, this is used… Read More
This method is used to converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture. Syntax:… Read More
This method is used to converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture. Syntax:… Read More
This method is used to convert the value of the specified string to its equivalent Unicode character. Syntax: public static char Parse (string s); Here,… Read More
This method is used to indicates whether two adjacent Char objects at a specified position in a string form a surrogate pair or not. Syntax:… Read More
This method is used to indicates whether the Char object at the specified position in a string is a low surrogate or not. Syntax: public… Read More
This method is used to indicates whether the character at the specified position in a specified string has a surrogate code unit or not. Syntax:… Read More
This method is used to indicates whether the Char object at the specified position in a string is a high surrogate or not. Syntax: public… Read More
This method is used to categorizes the character at the specified position in a specified string into a group identified by one of the UnicodeCategory… Read More
This method is used to indicates whether the character at the specified position in a specified string is categorized as a control character. Syntax: public… Read More
This method is used to return the TypeCode for value type Char. Syntax: public TypeCode GetTypeCode (); Return Value: This method returns the enumerated constant,… Read More
This method is used to return the hash code for this instance. Syntax: public override int GetHashCode (); Return Value: This method returns a 32-bit… Read More
This method is used to converts the specified Unicode code point into a UTF-16 encoded string. Syntax: public static string ConvertFromUtf32 (int utf32); Here, utf32… Read More
This method is used to converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a string into a… Read More
In C#, Char.CompareTo() is a System.Char struct method which is used to compare this instance of a specified object or value type and check whether… Read More