Application.Exit vs Application.ExitThread in C#.net

Posted by Naraayanan under Interview Questions on 6/26/2012 | Points: 10 | Views : 5166 | Status : [Member] | Replies : 3
Hi,
difference between Application.Exit vs Application.ExitThread in C#.net? which one is better for Desktop Application.

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/



Responses

Posted by: Savari_Arm on: 7/5/2012 [Member] Starter | Points: 25

Up
0
Down
application.exit is exit all the UI threads
... .exitthread is exit only the sub-application that calls
the method. The rest will stay alive

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajkatie on: 7/5/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
refer following link
http://social.msdn.microsoft.com/Forums/en/winforms/thread/d99e7abf-ffb8-4492-bff0-245e7033b1f1

Rajesh Patel
.Net Trainer(MSCD | MCT | MS)
Brainbench (Asp.Net 4.5 and C# 5.0)

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naraayanan on: 7/10/2012 [Member] Starter | Points: 25

Up
0
Down
HI,
Thanks for your reply

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Naraayanan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response