Convert Char To Upper - CSharp System

CSharp examples for System:Char

Description

Convert Char To Upper

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;/*from  www .  ja  v a  2 s  . c o  m*/

public class Main{
        public static char ToUpper(this char c)
        {
            return c.ToString().ToUpper()[0];
        }
}

Related Tutorials