1.

Why Environment.Exit() used in C#?

Answer»

The Environment.EXIT() method is USED in C# to TERMINATE this process. An exit CODE is returned by the method. For example, Environment.Exit(2) returns a value 2 showing that the file is in an incorrect format.



Discussion

No Comment Found