How in C# if I have error can I send it to an error handling line like below. I know how to do it in visual basic, but need a little assistance in C#. Thanks for the help
Sub Main()
On Error GoTo ErrHand
....Code Here
End Sub
ErrHand:
MsgBox "Message Here"
End Sub
The On Error GoTo pattern is upgraded in .NET to:
The following link Error Handling Transformation should give you some info.