Answers for "this.close in c# application exit"

C#
2

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

C# Answers by Framework

Browse Popular Code Answers by Language