R
RSH
Hi,
I have two questions both by a VB programmer that is learning C#...
1) In a VB error trap routine we would commonly trap the error and write it
to an error log and then attempt to "Resume Next." I have set up an
Exception Handling routine in C# and I would like to do the same thing. How
do I call an equivelent of "Resume Next" in C#
2) I have a situation in which I am performing a logical evalutaion
following a database call at the beginning of a function. If the evaluation
returns true then I have no reason to run the rest of the function...so how
do I call the equivelent of VBs "Exit Function...or Exit Sub Routine" ?
Thank you for your help!
Ron
I have two questions both by a VB programmer that is learning C#...
1) In a VB error trap routine we would commonly trap the error and write it
to an error log and then attempt to "Resume Next." I have set up an
Exception Handling routine in C# and I would like to do the same thing. How
do I call an equivelent of "Resume Next" in C#
2) I have a situation in which I am performing a logical evalutaion
following a database call at the beginning of a function. If the evaluation
returns true then I have no reason to run the rest of the function...so how
do I call the equivelent of VBs "Exit Function...or Exit Sub Routine" ?
Thank you for your help!
Ron