Creating the console application
Let’s start by creating the console application. For this, in Visual Studio Code, display the Terminal window by going to View|Terminal.
Then, position yourself where you want the code folder to be created (I mentioned in the previous chapter that I always create a C:\Code
folder that will contain all of my code projects).
From there, type the following command to create the console application:
$ dotnet new console -n bookmarkr -o bookmarkr --use-program-main
The .NET project currently looks like this when loaded in Visual Studio Code:

Figure 4.1 – The bookmarkr project opened in Visual Studio Code
Let’s add some code to the Program.cs
file.
The first feature we will implement is the ability to add a new bookmark to the list of bookmarks.
To do so, we need to create a BookmarkService
class that will contain all the logic for the bookmarking operations. By following the best practices...