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