close app c# Windows forms app .net framework code example Example: close windows web forms application c# Application.Exit(); //It needs to be upercase...