how to close a form c#

C#
System.Environment.Exit(1);this.Close();
Source

Also in C#: