Is it possible to have a function within a function?
Something like this:
Public Class Form1 Private Sub button1_Click(sender As Object, e As EventAr
It is possible to have a function within a function, called lambda expressions.
In your case, however, it is unclear to me how it can be useful.