how to create a folder in c#
// Directory class is in the System.IO namespace
Directory.CreateDirectory(dir);
how to create a folder in c#
// Directory class is in the System.IO namespace
Directory.CreateDirectory(dir);
file.create folder c#
Using System.IO;
//gets the directory where the program is launched from and adds the foldername
string path = Path.Combine(Environment.CurrentDirectory, "foldername");
//Creates a directory(folder) if it doesen't exist
Directory.CreateDirectory(path);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us