Answers for "how to exit from console application in c#"

C#
6

c# exit console

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

how to exit application c# console

System.Environment.Exit(0);
// or
Environment.Exit(0);
Posted by: Guest on October-02-2020

Code answers related to "how to exit from console application in c#"

C# Answers by Framework

Browse Popular Code Answers by Language