Select Page
Using the C# char Type

Using the C# char Type

In C#, the char is a built-in value type that represents one character in a string. The C# char or the character can be accessed by indexing through the string and converting to an integer. Let’s try it out by trying to access the letter (or char) ’t’ in the string...