using System;
public class Program
{
public static void Main()
Console.WriteLine("Trim in C#\n");
string s1 = " Lorem Ipsum ";
string s2 = s1.Trim();
// ! is added here to see the space present or not
Console.WriteLine("!" + s2 + "!");
}