1 ' BC30512: Option Strict On disallows implicit conversions from 'Integer' to 'Boolean'.
\r
6 Module LogicalOperatorsC3
\r
9 Console.WriteLine(f())
\r
12 Function f1() As Integer
\r
13 Console.WriteLine("Function f1() is called")
\r
17 Function f2() As Boolean
\r
18 Console.WriteLine("Function f2() is called")
\r
22 Function f() As Integer
\r
24 Dim a1, a2 As Integer
\r
25 a1 = f1() AndAlso f2()
\r