C Sharp (C#) - File IO
What is wrong with this code?
string filePath = "C:\\Docs\\file.txt"; string dir = Path.GetDirectoryName(filePath); Directory.CreateDirectory(dir);
