Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer i = AddOne(0) End Sub Private Function AddOne(ByVal value As Integer) As Integer value += 1 Return AddOne(value) End Function