csharp is folder

Code Example - csharp is folder

                
                        using System.IO;

string Path = "C:\Some\folder\path\";
if (Directory.Exists(Path))
{
  Console.WriteLine("Directory " + Path + " Exists");
}