Answers for "howto exit the app on c#"

C#
3

c# exit application

// In a console application:
Environment.Exit(0);
// In a WPF application:
Close();
Posted by: Guest on September-16-2020
1

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