To run this application, we have to Turn on the Google Calendar API and DOWNLOAD CLIENT CONFIGURATION and save the file credentials.json in root directory. Refer below link to Turn on google calendar API https://developers.google.com/calendar/quickstart/dotnet#step_1_turn_on_the
Note: At the first time of running sample, it will attempt to open a new browser window, in that you have to authorize it.