November 2017
Intermediate to advanced
800 pages
30h 51m
English
In Visual Studio 2017, press Ctrl + Shift + N or choose File | New | Project....
In the New Project dialog, in the Installed list, select .NET Core. In the center list, select Console App (.NET Core), type Name as WorkingWithFileSystems, change the location to C:\Code, type the solution name as Chapter09, and then click on OK.
In Visual Studio Code, in Integrated Terminal, make a new directory named Chapter09 and a subdirectory named WorkingWithFileSystems. Open the folder and enter the dotnet new console command.
At the top of the Program.cs file, add the following import statements. Note that we will statically import the Directory, Path, and Environment types to simplify our code:
Read now
Unlock full access