Don't have Telegram yet? Try it now!
https://nishantrana.me/2016/11/13/sample-code-to-connect-to-dynamics-365-online-through-console-app-c/
Sample code to connect to Dynamics 365 Online through Console App (C#)