C# Char IsSymbol() Method

Beginner
5 min read
Updated: Nov 2026
3 examples
Char

Definition

In C#, Char.IsSymbol returns true for Unicode symbol categories—currency signs, math symbols, modifiers, and other symbols.

Punctuation is a different category; use IsPunctuation for commas and periods.

This is a static member of System.Char. You call it with the type name, such as Char.IsSymbol(...) or char.IsSymbol(...). A char holds one 16-bit UTF-16 code unit.

Syntax

Pass the character to test.

C#
bool ok = Char.IsSymbol('$');
CallWhat it does
Char.IsSymbol(c)True if c is a symbol.
Char.IsSymbol(s, i)Tests s[i].

Letters and digits return false.

Library declarations
C#
public static bool IsSymbol(char c);
public static bool IsSymbol(string s, int index);

Parameters

ParameterDescription
cCharacter to test.
s, indexOptional string index overload.

Return Value

Return ValueDescription
trueSymbol character.
falseNot a symbol.

C# Examples

Example 1 — Dollar Sign

Classify $ and a letter.

C#
using System;

class Program {
    static void Main() {
        Console.WriteLine(Char.IsSymbol('$'));
        Console.WriteLine(Char.IsSymbol('A'));
    }
}

How It Works

  1. Currency symbol. $ matches IsSymbol.
  2. Letter A. Not a symbol.
  3. True/False. Straightforward classification.
  4. Common case. Money signs are typical symbols.

Example 2 — Plus Sign

Show that + is a math symbol.

C#
using System;

class Program {
    static void Main() {
        Console.WriteLine(Char.IsSymbol('+'));
        Console.WriteLine(Char.IsPunctuation('+'));
    }
}

How It Works

  1. Plus as symbol. IsSymbol returns true.
  2. Not punctuation. IsPunctuation is false for +.
  3. Category split. Unicode places + among symbols.
  4. Filter design. Include IsSymbol if you want math signs.

Example 3 — List Symbols in Text

Print every symbol in a short string.

C#
using System;

class Program {
    static void Main() {
        string s = "A$B+C";
        foreach (char ch in s) {
            if (Char.IsSymbol(ch)) Console.Write(ch);
        }
        Console.WriteLine();
    }
}

How It Works

  1. Mixed string. Letters and symbols alternate.
  2. Write symbols. Only $ and + print.
  3. Letters skipped. A, B, C are ignored.
  4. Compact output. Ends with a newline after the symbols.

Frequently Asked Questions

Yes.
Yes—math symbol.
No—typically punctuation.
No.
Yes.

Next: IsUpper()

Return true when the character is an uppercase letter with System.Char.

IsUpper() 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.

10 people found this page helpful