Here's a step-by-step guide to create a C# Console Application that uses Dependency Injection and makes an API call with headers (Authorization, Id). --- Step 1: Create Console App Open Visual Studio or terminal and run: dotnet new console -n ApiConsoleApp cd ApiConsoleApp --- Step 2: Add Required Packages dotnet add package Microsoft.Extensions.DependencyInjection dotnet add package Microsoft.Extensions.Http --- Step 3: Create Interfaces and Services IApiService.cs public interface IApiService { Task CallApiAsync(); } ApiService.cs using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; public class ApiService : IApiService { private readonly HttpClient _httpClient; public ApiService(HttpClient httpClient) { _httpClient = httpClient; } public async Task CallApiAsync() { // Set headers ...