Click here to Skip to main content
15,900,108 members
Home / Discussions / C#
   

C#

 
QuestionC# Question time! Pin
Matt Cavanagh19-May-09 3:44
Matt Cavanagh19-May-09 3:44 
AnswerRe: C# Question time! Pin
molesworth19-May-09 3:51
molesworth19-May-09 3:51 
GeneralRe: C# Question time! Pin
OriginalGriff19-May-09 4:43
mveOriginalGriff19-May-09 4:43 
GeneralRe: C# Question time! Pin
molesworth19-May-09 4:49
molesworth19-May-09 4:49 
GeneralRe: C# Question time! Pin
Nagy Vilmos19-May-09 5:00
professionalNagy Vilmos19-May-09 5:00 
GeneralRe: C# Question time! Pin
harold aptroot19-May-09 5:16
harold aptroot19-May-09 5:16 
GeneralRe: C# Question time! Pin
molesworth19-May-09 5:36
molesworth19-May-09 5:36 
AnswerRe: C# Question time! Pin
musefan19-May-09 3:54
musefan19-May-09 3:54 
I would agree, thou it's a bit of a tricky one. Although both are costly, 'Throwing Exceptions' will benefit the application (i.e. errors will be handled and therefore must be an improvement). I think the problem with the question is the use of the word 'optimize' as that gives the impression of improving performance. I guess in this case it's meant to mean improving the application as a piece of software.

Just out of interest, what was the third option?


EDIT:

Oh, which should not be used... Well then surely that's an invalid question.

Am I right in saying that the Q&A is suggesting that you should use 'Frequent Boxing and Unboxing' to optimize a windows application?! Why the hell, in any situation, would adding more work optimise anything. The only thing that made 'Throwing Exceptions' valid is that it has benefits.

Life goes very fast. Tomorrow, today is already yesterday.

GeneralRe: C# Question time! Pin
Matt Cavanagh19-May-09 11:44
Matt Cavanagh19-May-09 11:44 
AnswerRe: C# Question time! Pin
PIEBALDconsult19-May-09 4:10
mvePIEBALDconsult19-May-09 4:10 
AnswerRe: C# Question time! Pin
harold aptroot19-May-09 4:33
harold aptroot19-May-09 4:33 
QuestionChecking if app is running under a Admin account in XP Pin
Brad Wick19-May-09 3:20
Brad Wick19-May-09 3:20 
AnswerRe: Checking if app is running under a Admin account in XP Pin
Luc Pattyn19-May-09 4:57
sitebuilderLuc Pattyn19-May-09 4:57 
QuestionProblem with SetupProject Pin
maf66619-May-09 3:09
maf66619-May-09 3:09 
QuestionRe: Problem with SetupProject Pin
maf66619-May-09 22:17
maf66619-May-09 22:17 
QuestionRe: Problem with SetupProject Pin
maf66624-May-09 7:08
maf66624-May-09 7:08 
QuestionStatic class info across multiple application instances? Pin
Jacobus0119-May-09 2:25
Jacobus0119-May-09 2:25 
AnswerRe: Static class info across multiple application instances? Pin
Luc Pattyn19-May-09 2:35
sitebuilderLuc Pattyn19-May-09 2:35 
GeneralRe: Static class info across multiple application instances? Pin
Jacobus0119-May-09 2:47
Jacobus0119-May-09 2:47 
GeneralRe: Static class info across multiple application instances? Pin
Luc Pattyn19-May-09 2:54
sitebuilderLuc Pattyn19-May-09 2:54 
GeneralRe: Static class info across multiple application instances? Pin
Jacobus0119-May-09 2:59
Jacobus0119-May-09 2:59 
GeneralRe: Static class info across multiple application instances? Pin
ely_bob19-May-09 17:04
professionalely_bob19-May-09 17:04 
GeneralRe: Static class info across multiple application instances? Pin
Luc Pattyn19-May-09 17:09
sitebuilderLuc Pattyn19-May-09 17:09 
AnswerRe: Static class info across multiple application instances? Pin
S. Senthil Kumar19-May-09 3:30
S. Senthil Kumar19-May-09 3:30 
QuestionC# creating custom style combo box Pin
precious roy19-May-09 1:27
precious roy19-May-09 1:27 

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.