In this article I will explain with an example, how to install Microsoft.Extensions.DependencyInjection library froom Nuget package in Visual Studio.
 
 

Downloading Microsoft.Extensions.DependencyInjection package

You will need to install the Microsoft.Extensions.DependencyInjection package using the following command.
Install-Package Microsoft.Extensions.DependencyInjection
 
Install Microsoft.Extensions.DependencyInjection Nuget Package
 
Install Microsoft.Extensions.DependencyInjection Nuget Package