Is there an equivalent of exit() for quitting a c# .net application?
Answer / 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 |
Does c# have primitives?
Explain static class members.
Tell us something about static linking and dynamic linking?
What is value type and reference type?
what is an exception in .net?
What is inheritance c#?
What is lazy in c#?
Are private class-level variables inherited?
5 Answers HCL, Siebel Systems, Visual Soft,
Explain the 3 types of properties in c# with an example?
What is nullable types in c#?
Give examples for value types?
Why do we need nullable types in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)