7 Console.WriteLine(f1())
\r
10 Function f1() As Integer
\r
13 Dim arr(17) As Boolean
\r
15 If a < System.Int64.MaxValue Then
\r
19 If a <= System.Int64.MaxValue Then
\r
23 If System.Int64.MaxValue > a Then
\r
27 If System.Int64.MaxValue >= a Then
\r
31 If a <> System.Int64.MaxValue Then
\r
35 If a = System.Int64.MaxValue Then arr(5) = False Else arr(5) = True
\r
37 Dim b As Double = 0.0F
\r
39 If b < System.Double.MaxValue Then
\r
43 If b <= System.Double.MaxValue Then
\r
47 If System.Double.MaxValue > b Then
\r
51 If System.Double.MaxValue >= b Then
\r
55 If b <> System.Double.MaxValue Then
\r
59 If b = System.Double.MaxValue Then arr(11) = False Else arr(11) = True
\r
61 Dim c As Decimal = 0D
\r
63 If c < System.Decimal.MaxValue Then
\r
67 If c <= System.Decimal.MaxValue Then
\r
71 If System.Decimal.MaxValue > c Then
\r
75 If System.Decimal.MaxValue >= c Then
\r
79 If c <> System.Decimal.MaxValue Then
\r
83 If c = System.Decimal.MaxValue Then arr(17) = False Else arr(17) = True
\r
85 Console.WriteLine("Array length: {0}", arr.GetUpperBound(0))
\r
86 For i As Integer = 0 To arr.GetUpperBound(0)
\r
87 Console.Write("i: {0} ", i)
\r
88 Console.WriteLine(arr(i))
\r
91 For Each bval As Boolean In arr
\r