Click here to Skip to main content
15,895,370 members
Home / Discussions / C#
   

C#

 
GeneralRe: Web Service and Thin Client. Pin
EliottA26-May-09 11:01
EliottA26-May-09 11:01 
QuestionApplication Settings. How to iterate ? Pin
davebarkshire26-May-09 6:48
davebarkshire26-May-09 6:48 
AnswerRe: Application Settings. How to iterate ? Pin
Alan N26-May-09 11:07
Alan N26-May-09 11:07 
AnswerRe: Application Settings. How to iterate ? Pin
davebarkshire27-May-09 0:22
davebarkshire27-May-09 0:22 
QuestionC# multiple catch blocks Pin
proganon26-May-09 6:34
proganon26-May-09 6:34 
AnswerRe: C# multiple catch blocks Pin
Luc Pattyn26-May-09 6:44
sitebuilderLuc Pattyn26-May-09 6:44 
GeneralRe: C# multiple catch blocks Pin
proganon26-May-09 7:24
proganon26-May-09 7:24 
AnswerRe: C# multiple catch blocks Pin
Vikram A Punathambekar26-May-09 7:53
Vikram A Punathambekar26-May-09 7:53 
proganon wrote:
Is there any purpose for using multiple (specific) catch blocks if all exceptions will be handled the same way?


A resounding No.

The only place where this would be valid is if you wanted to catch and handle CustomException1 and CustomException2 in the same way and leave the rest for calling code to handle, where said Exception types are unrelated to each other.

Cheers,
Vikram.

Current activities:
Films: Philadelphia
TV series: Friends, season 4
Books: Six Thinking Hats, by Edward de Bono.
Carpe Diem.




AnswerRe: C# multiple catch blocks Pin
Pete O'Hanlon26-May-09 11:34
mvePete O'Hanlon26-May-09 11:34 
QuestionMy Project gives an error out of VS... How can I debug? Pin
SimpleData26-May-09 6:08
SimpleData26-May-09 6:08 
AnswerRe: My Project gives an error out of VS... How can I debug? Pin
OriginalGriff26-May-09 6:15
mveOriginalGriff26-May-09 6:15 
GeneralRe: My Project gives an error out of VS... How can I debug? Pin
SimpleData26-May-09 6:16
SimpleData26-May-09 6:16 
GeneralRe: My Project gives an error out of VS... How can I debug? Pin
SimpleData26-May-09 6:36
SimpleData26-May-09 6:36 
GeneralRe: My Project gives an error out of VS... How can I debug? Pin
Luc Pattyn26-May-09 6:50
sitebuilderLuc Pattyn26-May-09 6:50 
AnswerRe: My Project gives an error out of VS... How can I debug? Pin
0x3c026-May-09 6:34
0x3c026-May-09 6:34 
Questionhow to display default image in datagridview in c#.net 3.5 Win Forms? Pin
Narendra Reddy Vajrala26-May-09 5:43
Narendra Reddy Vajrala26-May-09 5:43 
AnswerRe: how to display default image in datagridview in c#.net 3.5 Win Forms? Pin
Henry Minute26-May-09 12:52
Henry Minute26-May-09 12:52 
Questionan array question [modified] Pin
bluetx26-May-09 5:05
bluetx26-May-09 5:05 
AnswerRe: an array question Pin
Ennis Ray Lynch, Jr.26-May-09 5:12
Ennis Ray Lynch, Jr.26-May-09 5:12 
GeneralRe: an array question Pin
bluetx26-May-09 5:14
bluetx26-May-09 5:14 
GeneralRe: an array question Pin
harold aptroot26-May-09 5:16
harold aptroot26-May-09 5:16 
GeneralRe: an array question Pin
Ennis Ray Lynch, Jr.26-May-09 5:22
Ennis Ray Lynch, Jr.26-May-09 5:22 
GeneralRe: an array question Pin
OriginalGriff26-May-09 6:14
mveOriginalGriff26-May-09 6:14 
AnswerRe: an array question Pin
tom57200726-May-09 5:15
tom57200726-May-09 5:15 
GeneralRe: an array question Pin
bluetx26-May-09 5:20
bluetx26-May-09 5:20 

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.