C# Char ToString() Method

Beginner
5 min read
Updated: Nov 2026
3 examples
Char

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.

C#
char c = 'A';
string s = c.ToString();
string also = Char.ToString(c);
CallWhat 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
C#
public override string ToString();
public static string ToString(char c);

Parameters

ParameterDescription
cStatic overload: character to convert.

Return Value

Return ValueDescription
stringA string whose Length is 1 (for a BMP char).

C# Examples

Example 1 — Char to String

Convert A to a string and print length.

C#
using System;

class Program {
    static void Main() {
        char c = 'A';
        string s = c.ToString();
        Console.WriteLine(s);
        Console.WriteLine(s.Length);
    }
}

How It Works

  1. Instance call. c.ToString().
  2. Print A. Contents match the char.
  3. Length 1. One code unit.
  4. String type. Ready for string APIs.

Example 2 — Char.ToString

Use the static overload.

C#
using System;

class Program {
    static void Main() {
        string s = Char.ToString('Z');
        Console.WriteLine(s);
        Console.WriteLine(s == "Z");
    }
}

How It Works

  1. Static call. Char.ToString('Z').
  2. Equals literal. Matches "Z".
  3. Same result. Equivalent to instance form.
  4. Handy in helpers. No temporary variable needed.

Example 3 — Build a Greeting

Join char strings into text.

C#
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

  1. Two chars. H and i.
  2. ToString each. Convert before + if you want string concat explicitly.
  3. Hi result. Combined greeting.
  4. 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

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

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