Code:
using System;
using System.IO;
class program
{
public static void Main()
{
Directory.CreateDirectory("C:\\NewDirectory");
Console.WriteLine("NewDirectory is Created in C Directory");
Console.ReadLine();
}
}
Output:
NewDirectory is Created in C Directory
More C# Programs: