Program.cs

You can also read this article in my blog

Reference

Conclusion