c# how can i use this.close when close form code example
Example 1: how to close an application in c#
this.Close();
//This only close the current form or window that you are using.
Example 2: c# close window
Application.Exit();
this.Close();
//This only close the current form or window that you are using.
Application.Exit();