In C#, Char.IsLetter returns true when a character is a Unicode letter. That includes Latin A–Z and a–z, plus letters from many other scripts.
It is the usual check when you want “is this alphabetic?” without accepting digits or punctuation.
This is a static member of System.Char. You call it with the type name, such as Char.IsLetter(...) or char.IsLetter(...). A char holds one 16-bit UTF-16 code unit.
Syntax
Pass a char (or a string index overload).
C#
char c = 'A';
bool ok = Char.IsLetter(c);
Call
What it does
Char.IsLetter(c)
True if c is a letter.
Char.IsLetter(text, 0)
Tests the char at index 0.
Digits and spaces return false. For letters or digits together, use IsLetterOrDigit.
Library declarations
C#
public static bool IsLetter(char c);
public static bool IsLetter(string s, int index);
Parameters
Parameter
Description
c
Required. The character to test.
s, index
Optional overload. Character at that string index.
Return Value
Return Value
Description
true
The character is a Unicode letter.
false
Not a letter.
C# Examples
Example 1 — Test Latin Letters
Check uppercase and lowercase English letters.
C#
using System;
class Program {
static void Main() {
char a = 'A';
char z = 'z';
char five = '5';
Console.WriteLine("A: " + Char.IsLetter(a));
Console.WriteLine("z: " + Char.IsLetter(z));
Console.WriteLine("5: " + Char.IsLetter(five));
}
}
Output
A: True
z: True
5: False
How It Works
Uppercase letter.'A' is a letter.
Lowercase letter.'z' also passes.
Digit fails.'5' is a digit, not a letter.
Static call. Use Char.IsLetter with the value.
Example 2 — Keep Only Letters
Strip non-letters from a short string.
C#
using System;
class Program {
static void Main() {
string raw = "C# 2026!";
string letters = "";
foreach (char ch in raw) {
if (Char.IsLetter(ch)) letters += ch;
}
Console.WriteLine(letters);
}
}
Output
C
How It Works
Scan text. Loop gives one char at a time.
Letter gate. Only alphabetic characters are appended.
Symbols dropped. Digits, #, space, and ! are skipped.
Result C. Only the letter C remains from the sample.
Example 3 — Accented Letter Counts
Show that é is still a letter.
C#
using System;
class Program {
static void Main() {
char eAcute = 'é';
Console.WriteLine(Char.IsLetter(eAcute));
Console.WriteLine(Char.IsAsciiLetter(eAcute));
}
}