C# Program to create new directory

In this article, learn how to create a new directory in C#.


C# Program to create new director

This example shows how to Calculate the Size of a File using LINQ in C#s.


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();
 
    }
}


– Article ends here –

If you have any questions, please feel free to share your questions or comments on the comment box below.

Share this:
We will be happy to hear your thoughts

      Leave a reply

      www.troubleshootyourself.com
      Logo