public class Test public Shared Sub Main Try Dim num_items As Integer = Integer.Parse("123") Catch ex As Exception Console.WriteLine(ex.Message) End Try End Sub End class