winforms - How do I properly exit a C# application? - Stack Overflow

PHOTO EMBED

Sun Jul 03 2022 23:13:06 GMT+0000 (UTC)

Saved by @sariohara #cs

protected override void OnExit(ExitEventArgs e) {
    base.OnExit(e); 
}
content_copyCOPY

On a winforms application in visual studio 2022

https://stackoverflow.com/questions/12977924/how-do-i-properly-exit-a-c-sharp-application