Tag: Character

Character Escape Sequences in C#

Below are some list of the Character Escape Sequences available in C# \\ – Backslash \’ – Single quote \” – Double quote \b – Backspace \n – New line \r – Carriage return \t – Horizontal tab \f – Form feed \a – Alert \v – Vertical tab \0 – Null

How to check if the Character is a Letter in c# using Char.IsLetter ?

The Char.IsLetter function can be used to find if the character is a Letter (Unicode) . If the specified character is a Letter , then the function Char.IsLetter returns true else returns false. How to check if the Character is a Letter in c# using Char.IsLetter ? Below is a sample sourcecode demonstrated on how to use Char.IsLetter .

How to convert Ascii value to character in C# ?

In C# , you can convert the Ascii value to its corresponding character by assigning the value to a character . How to convert Ascii value to character in C# ? Below is a sample sourcecode to demo how to convert Ascii value to character in C#

How to Convert a Character to Upper Case in C# using Char.ToUpper ?

The Char class provides the method ToUpper which will convert the any given character to its corresponding upper case character from lower case character. The Char.ToUpper accepts the character as parameter and returns the char with the Upper Case . How to Convert a Character to Upper Case in C# using Char.ToUpper ? Below is a sample sourcecode demonstrating How to Convert a Character to…

How to find if the character entered is Digit in C# ?

The Char class provides a method Char.IsDigit that lets you find if the character entered in the specid string is a digit or not. How to find if the character entered is Digit in C# ? Below is a sample code demonstrating the Char.IsDigit to find if the character entered is Digit in C#.