This is the example from the C# docs from Microsoft Found here.
The purpose of this example is to show how to get JSON data from an API call in C#.
If you want to test around more with it, you can see GitHub's API endpoints here
Make sure your current directory in terminal is WebAPIClient. You can check this with the following command:
# windows
cd
# Mac or Linux
pwdAfter running the command, you should see a path similar to the following:
[Full path]/In-Class-Example-APIs/HTTPSExample/WebAPIClient
To look at the file, open Program.cs in the WebClientAPI folder
To run the file, use the following command to see the output:
dotnet run