How to convert a character to lowercase in C#

1 Answer

0 votes
using System;

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

            ch = char.ToLower(ch);

            Console.WriteLine(ch);

            Console.WriteLine(Char.ToLower('A'));
        }
    }
}


/*
run:
  
z
a
 
*/


 



answered Jan 10, 2017 by avibootz

Related questions

1 answer 110 views
110 views asked Nov 16, 2019 by avibootz
1 answer 163 views
1 answer 144 views
1 answer 151 views
...