how to exit a program in c# code example
Example 1: exit programm c#
Application.Exit();
Example 2: how to exit a program in c#
Application.Exit();
Example 3: c# how to exit program
System.Environment.Exit(1);
Application.Exit();
Application.Exit();
System.Environment.Exit(1);