System.Globalization.CharUnicodeInfo.GetUnicodeCategory C# (CSharp) Method

GetUnicodeCategory() public static method

public static GetUnicodeCategory ( char ch ) : UnicodeCategory
ch char
return UnicodeCategory
        public static UnicodeCategory GetUnicodeCategory(char ch)
        {
            return (InternalGetUnicodeCategory(ch)) ;
        }

Same methods

CharUnicodeInfo::GetUnicodeCategory ( String s, int index ) : UnicodeCategory

Usage Example

        // Token: 0x06002CCD RID: 11469 RVA: 0x000AB254 File Offset: 0x000A9454
        internal static bool IsWhiteSpace(char c)
        {
            UnicodeCategory unicodeCategory = CharUnicodeInfo.GetUnicodeCategory(c);

            return(unicodeCategory - UnicodeCategory.SpaceSeparator <= 2);
        }
All Usage Examples Of System.Globalization.CharUnicodeInfo::GetUnicodeCategory