© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Console Application On Exit (Win 11) - C#
C
C#
•
2y ago
•
8 replies
Смерть в нищите
Console Application On Exit (Win 11)
Is there a way to properly run code on exiting console app to release resources or just block the Ctrl
+C and Closing the window exiting
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
62,470
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Prevent the exit button from closing console application
C
C# / help
2y ago
✅ How do I gracefully asynchronously exit a console application?
C
C# / help
2y ago
❔ C# Console Application -
C
C# / help
3y ago
Library console application
C
C# / help
4y ago