From "Build Apps with Microsoft Graph -- Associate" learning path.
https://docs.microsoft.com/en-us/learn/paths/m365-msgraph-associate/
A .NET Core console app in C# to query the Microsoft Graph for user information.
URL for complete lab:
Companion source repository:
https://github.com/microsoftgraph/msgraph-training-optimize-data-usage