# char

A primitive type that stores one UTF-16 code unit.

## What is **char** in C#?

**char** — A primitive type that stores one UTF-16 code unit.

```csharp
class Shirt
{
    char size = 'M';
}
```

Level: Novice · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/novice)

Updated: September 27, 2026

## In other subjects

- [char in Java](https://www.ask-codey.com/glossary/char)

Source: https://www.ask-codey.com/glossary/char-c-sharp
