How to check if a character is lower lowercase in C#

1 Answer

0 votes
using System;

namespace ConsoleApplication_C_Sharp
{
    class Program
    {
        static void Main(string[] args)
        {
            char ch = 'a';

            if (char.IsLower(ch))
                Console.WriteLine("yes");
            else
                Console.WriteLine("no");
        }
    }
}


/*
run:
 
yes

*/

 



answered Dec 30, 2016 by avibootz

Related questions

1 answer 157 views
1 answer 180 views
180 views asked Dec 31, 2016 by avibootz
1 answer 145 views
1 answer 175 views
...