close windows form c# code example
Example 1: how to close a form c#
this.Close();
Example 2: close windows web forms application c#
Application.Exit(); //It needs to be upercase...
this.Close();
Application.Exit(); //It needs to be upercase...