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 on the most common CLI commands for both .Net Core and .Net Framework.
For .NET Core we use the
dotnet CLI, which is perhaps the preferred way
dotnet add package GreenDonut
And for .NET Framework we still use the following line.
People who prefer a UI to install packages might wanne use the NuGet Package Manager, which is provided by Visual Studio.