ToLower(); function in C#
To convert characters from lowercase to uppercase you can implement (ToLower())function.
Example
using System;
namespace program
{
class Program
{
static void Main(string[] args)
{
string str1 = "HELLO";
string str5 = str1.ToLower();
Console.WriteLine(str5);
Console.ReadKey();
}
}
}
Output
hello
To convert characters from lowercase to uppercase you can implement (ToLower())function.
Example
using System;
namespace program
{
class Program
{
static void Main(string[] args)
{
string str1 = "HELLO";
string str5 = str1.ToLower();
Console.WriteLine(str5);
Console.ReadKey();
}
}
}
Output
hello