Answers for "c# console application exit program"

C#
6

c# exit console

static void Main()
{
	//do stuff
  
	Environment.Exit(1);// exit
}
Posted by: Guest on March-02-2020
2

c# application exit

private void button1_Click(object sender, EventArgs e) // this is your button double click your button and you will find it
        {
            Application.Exit();
        }
Posted by: Guest on February-06-2021

C# Answers by Framework

Browse Popular Code Answers by Language