how to close a windows form application in c#

C#
Application.Exit();application.Exit();
Source

Also in C#: