Click here to Skip to main content
16,005,048 members
Home / Discussions / C#
   

C#

 
QuestionIPAddress Obsolete Pin
Thoughthopper29-Sep-05 17:20
Thoughthopper29-Sep-05 17:20 
AnswerRe: IPAddress Obsolete Pin
turbochimp29-Sep-05 17:51
turbochimp29-Sep-05 17:51 
GeneralRe: IPAddress Obsolete Pin
Thoughthopper29-Sep-05 18:00
Thoughthopper29-Sep-05 18:00 
QuestionHow to make DataColumn.Expression work? Pin
Libra29-Sep-05 17:14
Libra29-Sep-05 17:14 
AnswerWonder if it's VS.net IDE wizzard's bug... Pin
Libra29-Sep-05 19:37
Libra29-Sep-05 19:37 
QuestionRethrowing exceptions: Pin
ntfirebird29-Sep-05 16:24
ntfirebird29-Sep-05 16:24 
AnswerRe: Rethrowing exceptions: Pin
Libra29-Sep-05 17:39
Libra29-Sep-05 17:39 
GeneralRe: Rethrowing exceptions: Pin
Dave Everett30-Sep-05 10:10
Dave Everett30-Sep-05 10:10 
You missed the point of his question. He was not wondering why the code would NOT work, he is wondering why the code DOES work.

My guess would be he's taking a .NET class and this is an exersize for the student to explain rethrowing expetions. However, the code in question does not REthrow and exception, it merely throws one and catches it.

I should resist the temptation to help you cheat, but here goes anyway.

The "try" is saying "run the code between the next two braces, and if an exception is thrown during any of it, then "catch" that exception and run the code in the catch block. If no exception occurs, don't run any of the code in the catch block.

Your function MyFn() throws an execption if the parms are null, and the catch block in Main will catch it and run the code in the catch block.
QuestionLineScroll method in C# Pin
Member 109769929-Sep-05 16:07
Member 109769929-Sep-05 16:07 
QuestionMdiChild and its control box Pin
AesopTurtle29-Sep-05 16:06
AesopTurtle29-Sep-05 16:06 
QuestionHow to align text in C# Pin
Johny Ng29-Sep-05 15:17
Johny Ng29-Sep-05 15:17 
AnswerRe: How to align text in C# Pin
Jaiprakash M Bankolli29-Sep-05 18:48
Jaiprakash M Bankolli29-Sep-05 18:48 
Questiontextbox.AppendText("just do it!\n"); Pin
Lilli Alexis29-Sep-05 14:45
Lilli Alexis29-Sep-05 14:45 
AnswerRe: textbox.AppendText("just do it!\n"); Pin
mav.northwind29-Sep-05 19:40
mav.northwind29-Sep-05 19:40 
QuestionTreeNode to Clipboard? Pin
PhrankBooth29-Sep-05 13:46
PhrankBooth29-Sep-05 13:46 
QuestionReading IPTC and XMP from JPEG files Pin
codebas29-Sep-05 12:45
codebas29-Sep-05 12:45 
AnswerRe: Reading IPTC and XMP from JPEG files Pin
divina22-Dec-05 20:45
divina22-Dec-05 20:45 
QuestionLoading Divx files Pin
Sasuko29-Sep-05 11:42
Sasuko29-Sep-05 11:42 
Question.NET Code Easy to Disassemble Pin
Heinz_29-Sep-05 10:46
Heinz_29-Sep-05 10:46 
AnswerRe: .NET Code Easy to Disassemble Pin
Dave Kreskowiak29-Sep-05 11:30
mveDave Kreskowiak29-Sep-05 11:30 
GeneralRe: .NET Code Easy to Disassemble Pin
Heinz_29-Sep-05 19:36
Heinz_29-Sep-05 19:36 
AnswerRe: .NET Code Easy to Disassemble Pin
Ashok Dhamija29-Sep-05 15:19
Ashok Dhamija29-Sep-05 15:19 
GeneralRe: .NET Code Easy to Disassemble Pin
Heinz_29-Sep-05 19:43
Heinz_29-Sep-05 19:43 
QuestionFastest way to read XML Pin
tommazzo29-Sep-05 8:39
tommazzo29-Sep-05 8:39 
AnswerRe: Fastest way to read XML Pin
turbochimp29-Sep-05 9:02
turbochimp29-Sep-05 9:02 

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.