char
noun
say it: “CHAR” /tʃɑːr/
The C# type for a single character, written in single quotes, like 'A' or '@'.
What is char in C#?
char — A primitive type that stores one UTF-16 code unit.
class Shirt
{
char size = 'M';
}
In a sentence
- “I stored the grade letter in a char, 'B'.”
Level: Novice · More C# terms at this level
Updated