For a more current .NET sample that uses Microsoft Graph, please see the ms-identity-dotnet-desktop-msgraph sample. Microsoft Graph is the recommended API for future development.
If you really wish to view the archived sample, please switch to the archive branch. This code is no longer maintained and functionality is not guaranteed.