CSharp - Write program to remove whitespaces at the beginning of the string

Requirements

Write program to remove whitespaces at the beginning of the string

Hint

Demo

using System;

public class MainClass
{
    public static void Main(String[] argv)
    {//from   w w  w  .j a va 2  s . c  om
        string blankSpaceAtbeginning = "  This .    ";
        Console.WriteLine(blankSpaceAtbeginning.Trim());

    }
}

Result