adspace
Is there an equivalent of exit() for quitting a c# .net application?
Answer Posted / Anuj Srivastava
No, C# does not have a direct equivalent to the C function 'exit()'. Instead, you can use Application.Exit(0) or Environment.Exit(0) in .NET applications.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers