' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
﻿Module Module1
    Function M1()
        Dim M = Function() As Integer
                    Return 1
                End Function
        Return M() + 1
    End Function
    Function M2()
        Dim M = Function() As Integer
                    Return 2
                End Function
        Return M() + 2
    End Function
    Sub Main()
        Console.WriteLine("{0} {1}", M1(), M2())
        Console.ReadKey()
    End Sub
End Module
