2 Module ConditionalCompilation
6 'Testing #If and #End If Block - Variation 1
12 Throw
New Exception("#A11-Conditional Compilation:Failed ")
15 Console
.WriteLine(e
.Message
)
19 'Testing #If and #End If Block - Variation 2
21 Throw
New Exception("#A21-Conditional Compilation:Failed")
24 Console
.WriteLine(e
.Message
)
28 'Testing #If, #Else and #End If Block - Variation 3
32 Throw
New Exception("#A31-Conditional Compilation:Failed")
36 Throw
New Exception("#A32-Conditional Compilation:Failed")
39 Console
.WriteLine(e
.Message
)
43 'Testing #If, #Else and #End If Block - Variation 4
45 Throw
New Exception("#A41-Conditional Compilation:Failed")
51 Throw
New Exception("#A42-Conditional Compilation:Failed")
54 Console
.WriteLine(e
.Message
)