Is it possible to have a function within a function?

前端 未结 2 427
谎友^
谎友^ 2021-01-28 06:47

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         


        
2条回答
  •  半阙折子戏
    2021-01-28 07:14

    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.

    • Lambda Expressions (Visual Basic) @ MSDN

提交回复
热议问题