Basic String Manipulation Methods C# with Example



Basic String Manipulation Methods C# with Example

 using System;

namespace CSharpFundamentals
{
    class BasicStringManipulationMethods
    {
        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