C# Char ToString() Method

Definition
In C#, ToString on a char returns a string of length 1 that holds that character.
Useful when an API needs a string, or when you concatenate with other text. There is also a static Char.ToString(char) overload.
This is an instance member of System.Char. You call it on a char value with a dot, such as c.ToString(...). A char holds one 16-bit UTF-16 code unit.
Syntax
Call on a char value, or use the static helper.
char c = 'A';
string s = c.ToString();
string also = Char.ToString(c);
| Call | What it does |
|---|
c.ToString() | Instance: one-character string. |
Char.ToString(c) | Static overload. |
For formatting with cultures, overloads accepting IFormatProvider exist; beginners usually need the simple form.
Library declarations
public override string ToString();
public static string ToString(char c);
Parameters
| Parameter | Description |
|---|
| c | Static overload: character to convert. |
Return Value
| Return Value | Description |
|---|
| string | A string whose Length is 1 (for a BMP char). |
C# Examples
Example 1 — Char to String
Convert A to a string and print length.
using System;
class Program {
static void Main() {
char c = 'A';
string s = c.ToString();
Console.WriteLine(s);
Console.WriteLine(s.Length);
}
}
How It Works
- Instance call. c.ToString().
- Print A. Contents match the char.
- Length 1. One code unit.
- String type. Ready for string APIs.
Example 2 — Char.ToString
Use the static overload.
using System;
class Program {
static void Main() {
string s = Char.ToString('Z');
Console.WriteLine(s);
Console.WriteLine(s == "Z");
}
}
How It Works
- Static call. Char.ToString('Z').
- Equals literal. Matches "Z".
- Same result. Equivalent to instance form.
- Handy in helpers. No temporary variable needed.
Example 3 — Build a Greeting
Join char strings into text.
using System;
class Program {
static void Main() {
char h = 'H';
char i = 'i';
string hi = h.ToString() + i.ToString();
Console.WriteLine(hi);
}
}
How It Works
- Two chars. H and i.
- ToString each. Convert before + if you want string concat explicitly.
- Hi result. Combined greeting.
- Note. char + char adds code units; ToString avoids that pitfall.
Frequently Asked Questions
1 for a normal BMP char.
Yes: Char.ToString(c).
Adds numeric code units—convert to string when you mean text concat.
One surrogate unit alone is incomplete text.
Roughly yes for length-1 strings.
Next: ToUpper()
Convert a character to uppercase using culture rules with System.Char.
ToUpper() tutorial →About the author
Developer, cloud engineer, and technical writer
I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.
8 people found this page helpful