Check to see if a Directory Exists in C Sharp
From RiceFamily Wiki
Revision as of 19:56, 12 April 2015 by Rice0009 (Talk | contribs) (Created page with "string path = @"C:\MP_Upload"; if(!Directory.Exists(path)) :{ ::Directory.CreateDirectory(path); :}")
string path = @"C:\MP_Upload"; if(!Directory.Exists(path))
- {
- Directory.CreateDirectory(path);
- }