Click here to Skip to main content
15,912,756 members
Home / Discussions / C#
   

C#

 
Questionhow does insert text inside a bitmap? Pin
Anonymous11-Jul-05 0:39
Anonymous11-Jul-05 0:39 
AnswerRe: how does insert text inside a bitmap? Pin
Adam Goossens11-Jul-05 0:42
Adam Goossens11-Jul-05 0:42 
GeneralSetROP2 Pin
Rassul Yunussov10-Jul-05 23:51
Rassul Yunussov10-Jul-05 23:51 
GeneralRe: SetROP2 Pin
Andrew Kirillov11-Jul-05 0:19
Andrew Kirillov11-Jul-05 0:19 
QuestionHow to Color Root Nodes and Child Nodes Seperately? Pin
pubududilena10-Jul-05 23:48
pubududilena10-Jul-05 23:48 
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 

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.