How to create folder

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.IO;

namespace CreateFolder

{

    class Program

    {

        static void Main(string[] args)

        {

            DirectoryInfo dir = new DirectoryInfo(@"E:\owais");

            if (dir.Exists)

                Console.WriteLine("The Folder Exist");

            else

            {

                dir.Create();

                Console.WriteLine("Folder Create");

            }

            Console.WriteLine(Console.Read());

        }

    }

}