Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The incorrect version of FeedPetX()
Private Sub FeedPetX(ByVal thePet As Pet)
Try
If thePet = Pet.Cat Then
FeedTheCat()
Else
If thePet = Pet.Cat Then
FeedTheCat()
End If
End If
Catch ex As Exception
LogException(ex)
End Try
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment