Just write this line :
System.IO.Directory.CreateDirectory(myDir);
If the folder does not exist yet, it will be created.
If the folder exists already,...
Extension. An extension method has simplified calling syntax. It represents a static method as an instance method. Extension methods can lead to simpler syntax.
The...