The simplest way of using Bonk is by including it in your C# project as a NuGet package.
To include the latest version of Bonk in your project using the .NET CLI, use the following command:
dotnet add package MoonTools.Core.Bonk
If you are using the NuGet Package Manager, you may do:
PM> Install-Package MoonTools.Core.Bonk
Once you have done this, you may access Bonk functionality by including
using MoonTools.Core.Bonk;
in any C# file.
Of course, you are free to include the source code directly in your project as well, but this is less convenient.