10
1
Option Strict On
2
Imports System
3
Public Module Module1
4
Public Sub Main()
5
Console.WriteLine(TwoPlusTwo())
6
End Sub
7
Function TwoPlusTwo() As Integer
8
Return 2 + 2
9
End Function
10
End Module
Cached Result
CoOrds 1: x = 0, y = 0
CoOrds 2: x = 10, y = 10
CoOrds 2: x = 10, y = 10