Is Char Upper Letter - CSharp System

CSharp examples for System:Char

Description

Is Char Upper Letter

Demo Code

// Copyright (c)2008-2011 Mark II Software, LLC.  All Rights Reserved.
using System.Text;
using System.Linq;
using System.Collections.Generic;
using System;// w  w  w.  j  av  a2s  . c  om

public class Main{
        public static bool IsUpperLetter(this char c)
        {
            return Char.IsUpper(c) && Char.IsLetter(c);
        }
        public static bool IsLetter(this char c)
        {
            return Char.IsLetter(c);
        }
        public static bool IsUpper(this char c)
        {
            return Char.IsUpper(c);
        }
}

Related Tutorials