Answers for "c# exit console"

C#
6

c# exit console

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

how to exit application c# console

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

c# how to terminate console application

System.Envrionment.Exit(0);  
  
//or
  
Envrionment.Exit(0);
Posted by: Guest on August-14-2020

C# Answers by Framework

Browse Popular Code Answers by Language