Indicates whether the specified object is a low surrogate. - CSharp System

CSharp examples for System:Char Unicode

Description

Indicates whether the specified object is a low surrogate.

Demo Code

// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
using System;//  w  w  w.j  a va  2s . c  om

public class Main{
        /// <summary>
    ///     Indicates whether the specified  object is a low surrogate.
    /// </summary>
    /// <param name="c">The character to evaluate.</param>
    /// <returns>
    ///     true if the numeric value of the  parameter ranges from U+DC00 through U+DFFF; otherwise, false.
    /// </returns>
    public static Boolean IsLowSurrogate(this Char c)
    {
        return Char.IsLowSurrogate(c);
    }
}

Related Tutorials