Use the HttpClient class provided in the System.Net.Http namespace.
In the above code, we create an instance of the HttpClient class and use the GetAsync method to make a GET request to the API endpoint. The response is then read as a string using the ReadAsStringAsync method of the response content. The content can then be processed as required by your application.