Indicates whether the specified Unicode character is categorized as a symbol character. - CSharp System

CSharp examples for System:Char Unicode

Description

Indicates whether the specified Unicode character is categorized as a symbol character.

Demo Code

// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
using System;/*from   ww w.  ja v  a  2 s  . c  o  m*/

public class Main{
        /// <summary>
    ///     Indicates whether the specified Unicode character is categorized as a symbol character.
    /// </summary>
    /// <param name="c">The Unicode character to evaluate.</param>
    /// <returns>true if  is a symbol character; otherwise, false.</returns>
    public static Boolean IsSymbol(this Char c)
    {
        return Char.IsSymbol(c);
    }
}

Related Tutorials