1

I am using System.Environment.Exit(0) in my c# application. While using this, application gets terminated but when i build an .exe file and using this application on another machine, its seem to not trminate application.

    btnClose_Click(System.Object sender, System.EventArgs e) {
System.Environment.Exit(0)
};
Sonam Mohite
  • 885
  • 4
  • 19
  • 51

0 Answers0