Click here to Skip to main content
15,899,825 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Color Root Nodes and Child Nodes Seperately? Pin
S. Senthil Kumar11-Jul-05 1:09
S. Senthil Kumar11-Jul-05 1:09 
GeneralRe: How to Color Root Nodes and Child Nodes Seperately? Pin
Alomgir Miah11-Jul-05 6:24
Alomgir Miah11-Jul-05 6:24 
AnswerRe: How to Color Root Nodes and Child Nodes Seperately? Pin
Alomgir Miah11-Jul-05 8:25
Alomgir Miah11-Jul-05 8:25 
GeneralPrivate variable -> Public property macro Pin
Jan R Hansen10-Jul-05 23:35
Jan R Hansen10-Jul-05 23:35 
QuestionPerformace of exceptions? Pin
Dr Herbie10-Jul-05 23:21
Dr Herbie10-Jul-05 23:21 
AnswerRe: Performace of exceptions? Pin
leppie11-Jul-05 0:46
leppie11-Jul-05 0:46 
AnswerRe: Performace of exceptions? Pin
Guffa11-Jul-05 2:51
Guffa11-Jul-05 2:51 
AnswerRe: Performace of exceptions? Pin
Kevin McFarlane11-Jul-05 3:20
Kevin McFarlane11-Jul-05 3:20 
Another way to look at this is to think in terms of contracts. With the data it's given can a routine fufil its contract, i.e., can it do what it says it can do? If it can then you shouldn't throw an exception. If it can't then it should fail, which means throwing an exception or signalling some other type of failure. Not being able to fulfil its contract is either due to a programmer error, or an environment error such as out of memeory. Either way it will be a rare occurrence.

I think in the situation you describe, your gut feeling is probably right.

Kevin
AnswerRe: Performace of exceptions? Pin
J4amieC11-Jul-05 3:35
J4amieC11-Jul-05 3:35 
AnswerRe: Performace of exceptions? Pin
Matt Gerrans11-Jul-05 9:02
Matt Gerrans11-Jul-05 9:02 
QuestionExcel bookmarks? Pin
Christer Claesson10-Jul-05 23:05
Christer Claesson10-Jul-05 23:05 
GeneralForms in ASP.Net Pin
pakFari10-Jul-05 23:03
pakFari10-Jul-05 23:03 
GeneralRe: Forms in ASP.Net Pin
MoustafaS11-Jul-05 2:18
MoustafaS11-Jul-05 2:18 
GeneralSQL question Pin
Rassul Yunussov10-Jul-05 22:34
Rassul Yunussov10-Jul-05 22:34 
GeneralRe: SQL question Pin
Guffa11-Jul-05 4:51
Guffa11-Jul-05 4:51 
GeneralComponent Control for Windows CE Pin
hung le quoc10-Jul-05 21:29
hung le quoc10-Jul-05 21:29 
GeneralSQL query help Pin
Anonymous10-Jul-05 19:26
Anonymous10-Jul-05 19:26 
GeneralRe: SQL query help Pin
Sheo Narayan10-Jul-05 19:54
Sheo Narayan10-Jul-05 19:54 
GeneralRe: SQL query help Pin
Anonymous10-Jul-05 22:14
Anonymous10-Jul-05 22:14 
GeneralRe: SQL query help Pin
Sheo Narayan10-Jul-05 22:21
Sheo Narayan10-Jul-05 22:21 
QuestionAre Enum's best for this?? Pin
rmoen10-Jul-05 17:49
rmoen10-Jul-05 17:49 
AnswerRe: Are Enum's best for this?? Pin
Guffa11-Jul-05 4:54
Guffa11-Jul-05 4:54 
Questionhow to load a non .Net Win32 DLL in .Net emulator Pin
kroller10-Jul-05 16:42
kroller10-Jul-05 16:42 
AnswerRe: how to load a non .Net Win32 DLL in .Net emulator Pin
Alex Korchemniy10-Jul-05 19:11
Alex Korchemniy10-Jul-05 19:11 
GeneralRe: how to load a non .Net Win32 DLL in .Net emulator Pin
kroller10-Jul-05 19:17
kroller10-Jul-05 19:17 

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.