How to find if the Character is a Symbol in C# using Char.IsSymbol ?

You can find if the Character is a Symbol in C# using the method Char.IsSymbol.

How to find if the Character is a Symbol in C# using Char.IsSymbol ?

The Char.IsSymbol method will return true if the specified character is a Symbol else returns false.

using System;
namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            string inputString = "Welcome to Abundant Code $"; 
            foreach(char input in inputString)
            {
                if(Char.IsSymbol(input))
                    Console.WriteLine(input + " is a Symbol");
                else
                    Console.WriteLine(input + " is not a Symbol");
            }
            Console.Read();
        }
    }
}