try-catch
Sub Main() Dim i As Integer Dim var() As Integer var = New Integer() {1, 2, 3, 4, 5} For Each i In var Try Console.WriteLine(i.ToString()) Catch ex As Exception Continue For End Try Next End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)