Click here to Skip to main content
16,012,153 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to minimize & zip the access Data base size? Pin
Christian Graus8-Oct-06 15:54
protectorChristian Graus8-Oct-06 15:54 
GeneralRe: How to minimize & zip the access Data base size? Pin
Emad Abo Aiad10-Oct-06 3:58
Emad Abo Aiad10-Oct-06 3:58 
QuestionAny container gurus out there (Dictionary and SortedDictionary) Pin
Julien8-Oct-06 13:53
Julien8-Oct-06 13:53 
AnswerRe: Any container gurus out there (Dictionary and SortedDictionary) Pin
Christian Graus8-Oct-06 15:52
protectorChristian Graus8-Oct-06 15:52 
GeneralRe: Any container gurus out there (Dictionary and SortedDictionary) Pin
Julien9-Oct-06 12:55
Julien9-Oct-06 12:55 
GeneralRe: Any container gurus out there (Dictionary and SortedDictionary) Pin
Christian Graus9-Oct-06 13:04
protectorChristian Graus9-Oct-06 13:04 
QuestionFlatAppearance.BorderSize Pin
antonpaolo8-Oct-06 12:04
antonpaolo8-Oct-06 12:04 
QuestionWhy use exceptions...? Pin
Mark068-Oct-06 10:15
Mark068-Oct-06 10:15 
Hi,
can anyone offer some pros as to why raise an exception?
Imagine Im developing a function. I can either account for errors by using a try...catch statment, or I can raise an exception.

But Im missing the point of an raising an exception. I can understand why it occurs, but not for reason in the real world.

If I development a function that requires a integer parameter to be less than 10, why would I need to create an exception if its greater? Surely Im going to be aware of that myself? Likewise, I would much rather the application deal with the problem using a try...catch, than throw an exception causing it to creash.

So therefore, raising exceptions is bad?

Can anyone offer any thoughts?


Mark
AnswerRe: Why use exceptions...? Pin
Nico van der Plas8-Oct-06 11:32
Nico van der Plas8-Oct-06 11:32 
AnswerRe: Why use exceptions...? Pin
Guffa8-Oct-06 12:06
Guffa8-Oct-06 12:06 
AnswerRe: Why use exceptions...? Pin
Christian Graus8-Oct-06 11:44
protectorChristian Graus8-Oct-06 11:44 
AnswerRe: Why use exceptions...? Pin
Guffa8-Oct-06 12:04
Guffa8-Oct-06 12:04 
AnswerRe: Why use exceptions...? Pin
Ennis Ray Lynch, Jr.8-Oct-06 13:12
Ennis Ray Lynch, Jr.8-Oct-06 13:12 
QuestionDuration of Media in C# Pin
ytubis8-Oct-06 10:13
ytubis8-Oct-06 10:13 
AnswerRe: Duration of Media in C# Pin
Christian Graus8-Oct-06 11:50
protectorChristian Graus8-Oct-06 11:50 
AnswerRe: Duration of Media in C# Pin
Niiiissssshhhhhuuuuu8-Oct-06 17:47
Niiiissssshhhhhuuuuu8-Oct-06 17:47 
QuestionPrinting Problem ...... Pin
galigal158-Oct-06 7:42
galigal158-Oct-06 7:42 
Questionstring array property Pin
Tuwing.Sabado8-Oct-06 6:37
Tuwing.Sabado8-Oct-06 6:37 
AnswerRe: string array property Pin
Nader Elshehabi8-Oct-06 6:40
Nader Elshehabi8-Oct-06 6:40 
GeneralRe: string array property Pin
Tuwing.Sabado8-Oct-06 7:05
Tuwing.Sabado8-Oct-06 7:05 
AnswerRe: string array property Pin
Martin#8-Oct-06 20:38
Martin#8-Oct-06 20:38 
QuestionHow to connect to an sql database that requires a password Pin
Anthony Mushrow8-Oct-06 5:59
professionalAnthony Mushrow8-Oct-06 5:59 
AnswerRe: How to connect to an sql database that requires a password Pin
mav.northwind8-Oct-06 6:24
mav.northwind8-Oct-06 6:24 
GeneralRe: How to connect to an sql database that requires a password Pin
Anthony Mushrow8-Oct-06 6:31
professionalAnthony Mushrow8-Oct-06 6:31 
QuestionHow to install a document in the Users My Documents folder Pin
Tad McClellan8-Oct-06 3:53
professionalTad McClellan8-Oct-06 3:53 

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.