Click here to Skip to main content
15,903,752 members
Home / Discussions / C#
   

C#

 
AnswerRe: Remoting Vs Socket for high throughput scenario? Pin
sourabhsorate9-Jan-09 23:09
sourabhsorate9-Jan-09 23:09 
GeneralRe: Remoting Vs Socket for high throughput scenario? Pin
devvvy10-Jan-09 7:29
devvvy10-Jan-09 7:29 
Questionsession expired Pin
Rajeshwar Code- Developer8-Jan-09 15:02
Rajeshwar Code- Developer8-Jan-09 15:02 
AnswerRe: session expired Pin
harleydk8-Jan-09 20:23
harleydk8-Jan-09 20:23 
QuestionC#.Net in Symbian OS Pin
Mohammad Dayyan8-Jan-09 10:36
Mohammad Dayyan8-Jan-09 10:36 
AnswerRe: C#.Net in Symbian OS Pin
Jason C Bourne8-Jan-09 10:41
Jason C Bourne8-Jan-09 10:41 
GeneralRe: C#.Net in Symbian OS Pin
Dave Kreskowiak8-Jan-09 15:59
mveDave Kreskowiak8-Jan-09 15:59 
AnswerRe: C#.Net in Symbian OS Pin
User 66588-Jan-09 10:43
User 66588-Jan-09 10:43 
GeneralRe: C#.Net in Symbian OS Pin
Mohammad Dayyan8-Jan-09 10:47
Mohammad Dayyan8-Jan-09 10:47 
AnswerRe: C#.Net in Symbian OS Pin
Giorgi Dalakishvili8-Jan-09 18:40
mentorGiorgi Dalakishvili8-Jan-09 18:40 
QuestionBitmap display problem Pin
Member 19809998-Jan-09 9:40
Member 19809998-Jan-09 9:40 
GeneralRe: Bitmap display problem Pin
Luc Pattyn8-Jan-09 9:55
sitebuilderLuc Pattyn8-Jan-09 9:55 
GeneralRe: Bitmap display problem Pin
Member 19809998-Jan-09 9:58
Member 19809998-Jan-09 9:58 
GeneralRe: Bitmap display problem Pin
User 66588-Jan-09 10:35
User 66588-Jan-09 10:35 
GeneralRe: Bitmap display problem Pin
Member 19809998-Jan-09 10:41
Member 19809998-Jan-09 10:41 
GeneralRe: Bitmap display problem Pin
User 66588-Jan-09 10:46
User 66588-Jan-09 10:46 
GeneralRe: Bitmap display problem Pin
Luc Pattyn8-Jan-09 10:50
sitebuilderLuc Pattyn8-Jan-09 10:50 
QuestionUpdating DataBase with DataTable & TableAdapte problem ? Pin
Mohammad Dayyan8-Jan-09 9:31
Mohammad Dayyan8-Jan-09 9:31 
QuestionExceptions Pin
CodingYoshi8-Jan-09 8:52
CodingYoshi8-Jan-09 8:52 
GeneralRe: Exceptions Pin
Luc Pattyn8-Jan-09 10:02
sitebuilderLuc Pattyn8-Jan-09 10:02 
GeneralRe: Exceptions Pin
CodingYoshi8-Jan-09 10:16
CodingYoshi8-Jan-09 10:16 
GeneralRe: Exceptions Pin
Luc Pattyn8-Jan-09 10:28
sitebuilderLuc Pattyn8-Jan-09 10:28 
GeneralRe: Exceptions Pin
Jason C Bourne8-Jan-09 10:31
Jason C Bourne8-Jan-09 10:31 
Exception handling is by definition about HANDLING an exception. When you want to display a friendly message, you are not handling anything. Handling an exception is for example retrying a connection to a remote machine after a timeout exception. This is real exception handling. Another form of exception handling is finding an alternative in case of disk I/O problem... writing on another disk or requesting the user to free some space for example.

Any other thing that you might want to do, like logging or displaying a message, should be placed at one single location within your application, potentially the application controller. This "application host" component (it can be your Program.cs as well...) is supposed to do something (log, display a popup, exit the application or close the form, or whatever you think may be appropriate). But it can terminate as well, it is up to you to decide when your application is stable, and when it is not.

Exception handling means what it says, you handle an exception when you can do something with it, otherwise you leave it going up the stack till it reaches the entry point.

JC

Jean-Christophe Grégoire

GeneralRe: Exceptions Pin
CodingYoshi8-Jan-09 10:57
CodingYoshi8-Jan-09 10:57 
GeneralRe: Exceptions Pin
Colin Angus Mackay8-Jan-09 11:18
Colin Angus Mackay8-Jan-09 11:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.