Before we can start we have to install the package via NuGet. There are many ways to install a NuGet package but we focus here just on one for both .net core and classic.
For .net core we use the dotnet CLI. Which is perhaps the most preferred way to do this.
dotnet add package GreenDonut
And for .net classic we still use the following line.