Skip to main content
Active reading.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

If you REALLYreally need it to close out you can also use Environment.Exit(), but it is not graceful at all (more like ending the process).

Use it as follows:

Environment.Exit(0) 

If you REALLY need it to close out you can also use Environment.Exit() but it is not graceful at all (more like ending the process).

Use as follows:

Environment.Exit(0) 

If you really need it to close out you can also use Environment.Exit(), but it is not graceful at all (more like ending the process).

Use it as follows:

Environment.Exit(0) 
fixed code
Source Link
gzm0
  • 14.9k
  • 1
  • 38
  • 65

If you REALLY need it to close out you can also use Environment.Exit() but it is not graceful at all (more like ending the process).

Here is the correct syntax Use as follows: Environment.Exit(0)

Environment.Exit(0) 

If you REALLY need it to close out you can also use Environment.Exit() but it is not graceful at all (more like ending the process).

Here is the correct syntax : Environment.Exit(0)

If you REALLY need it to close out you can also use Environment.Exit() but it is not graceful at all (more like ending the process).

Use as follows:

Environment.Exit(0) 

If you REALLY need it to close out you can also use Environment.Exit() but it is not graceful at all (more like ending the process).

Here is the correct syntax : Environment.Exit(0)

If you REALLY need it to close out you can also use Environment.Exit() but it is not graceful at all (more like ending the process).

If you REALLY need it to close out you can also use Environment.Exit() but it is not graceful at all (more like ending the process).

Here is the correct syntax : Environment.Exit(0)

Source Link
John
  • 6.6k
  • 4
  • 41
  • 59
Loading