What is the primary purpose of NuGet in the .NET ecosystem?

  1. Database management
  2. User interface design
  3. Package management and dependency resolution
  4. Code compilation

Explanation

NuGet is the package manager for .NET that allows developers to easily share, discover, and consume reusable code packages. It handles dependency resolution and package installation.