Convert String Lower Case and Upper Case using C#



Convert String Lower Case and Upper Case using C#

using System;  
namespace CSharpFundamentals  
{  
   class UpperCaseAndLowerCase  
   {  
      private static void Main(string[] args)  
      {  
         String msg = " C# is COOL too ";  
         Console.WriteLine("Message in Uppercase: {0}", msg.ToUpper());  
         Console.WriteLine("Message in lowercase: {0}", msg.ToLower());  
      }  
   }  
}  

0 Comment's

Comment Form

Submit Comment