c# exit console
static void Main()
{
//do stuff
Environment.Exit(1);// exit
}
c# exit console
static void Main()
{
//do stuff
Environment.Exit(1);// exit
}
how to exit application c# console
System.Environment.Exit(0);
// or
Environment.Exit(0);
c# how to terminate console application
System.Envrionment.Exit(0);
//or
Envrionment.Exit(0);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us