Indicates whether the specified Unicode character is categorized as white space. - CSharp System

CSharp examples for System:Char Unicode

Description

Indicates whether the specified Unicode character is categorized as white space.

Demo Code

// Copyright (c) 2015 ZZZ Projects. All rights reserved
using System;/* w  w  w.  ja va2 s  .  c o m*/

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

Related Tutorials