A character (or char) is used as a single letter that is printed onto the console
Character is classified as char in C# and is a variable used to store a single character.
It is much smaller than a string and will bring up an error message if it is given more than 1 letter.
Console.WriteLine('a');
A character can be recognised within the Console.WriteLine() command through only having ‘ ‘ not “”. This is what separates it from being a string to being a character.
Make sure to check out our other posts on the basics for more clarification.



Leave a comment