Answers for "how to close and exit an application with 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

how to close an application in c#

this.Close();
//This only close the current form or window that you are using.
Posted by: Guest on July-18-2020

Code answers related to "how to close and exit an application with c#"

C# Answers by Framework

Browse Popular Code Answers by Language