Here is source code of the C# Program to Create a Directory. The C# program is successfully compiled and executed with Microsoft Visual Studio. The program output is also shown below.
* C# Program to Create a Directory
public static void Main()
Console.WriteLine("NewDirectory is Created in C Directory");
Here is the output of the C# Program:
NewDirectory is Created in C Directory
Sanfoundry Global Education & Learning Series – 1000 C# Programs.