File/Folder Handling in C#.net

Create, Copy, Move and Delete File/Folder in C#.net Create File or Folder: public class CreateFileOrFolder { static void Main() { // Specify a name for your top-level folder. string folderName = @"c:\Top-Level Folder"; // To create a string that specifies the path to a subfolder under your // top-level folder, add a name for the subfolder to folderName. string pathString = System.IO.Path.Combine(folderName, "SubFolder"); // You can write out the path name directly instead of using the Combine // method. Combine just makes the process easier. string pathString2 = @"c:\Top-Level Folder\SubFolder2"; // You can extend the depth of your path if...