In this chapter, we will look at how to create a NuGet package of your library. We will create a basic library, and after that, we will create a NuGet package and submit it. Finally, we will use that package in two different applications.
NuGet is a package delivery tool for your .NET-based applications. It avoids the hassle of finding all the dependencies required for a package or library. For example, if you are looking for Library A, and it requires a few other libraries such as Library B and Library C, you just need to get Library A. NuGet will save you the time of searching for Libraries B and C, as well as installing and configuring them for you.