2 REM ExpectedError: BC30451
\r
3 REM ErrorMessage: Name 'j' is not declared
\r
7 Module ExceptionHandlingC6
\r
12 Dim j As Integer = 2
\r
15 Console.WriteLine(i)
\r
16 Catch e As Exception When i = 0
\r
17 j = 3 ' Local varables from a Try block are not available in Catch block
\r
18 Console.WriteLine(e.Message)
\r
20 j = 4 ' Local varables from a Try block are not available in Finally block
\r