FastFoodCoding

Login


Connect with one of the following accounts





Login

Please wait while we redirect...

Views: 92   



Following program shows you how to convert given string to lower case.
In this program we get string from user and convert that string into lower case using .ToLower()

using System;

class MainClass {
  public static void Main (string[] args) {
    Console.WriteLine ("Please enter the string:");
    string input = Console.ReadLine();
    string lowerCase = input.ToLower();
    Console.WriteLine("Given string in lower case: " + lowerCase);

  }
}

Output:

Please enter the string:
 HELLO TOM
Given string in lower case: hello tom



On By


Top Tutorials

Top Questions

Top Articles

Top Blogs

Top News