Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
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:
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)
Here is the correct syntax : Environment.Exit(0)