Directory.Exists
using System; using System.IO; static class MainClass { static void Main(string[] args) { Console.WriteLine(Directory.Exists("c:\\")); } }