我正要重构这个VB6代码(由别人写的)。 Public Function GetValue(ID As Long) As Boolean
On Error GoTo eh
'' ... DAL Logic...
eh_Exit:
On Error GoTo 0
Exit Function
eh:
Resume eh_Exit
End Fu
我正在VB.NET中编写一些使用switch语句的代码,但在其中一种情况下需要跳转到另一个块。在C#中它看起来像这样: switch (parameter)
{
case "userID":
// does something here.
case "packageID":
// does something here.
case "mvrT