if(System.IO.Directory.Exists(@"c:\2"))
{
try
{
System.IO.Directory.Delete(@"c:\2",true);
}
catch(Exception ex)
{MessageBox.Show(ex.Message);}
}