小编Not*_*iso的帖子

如何在VB.NET中声明嵌套函数?

我如何在VB.NET中声明嵌套函数?例如,我想做这样的事情:

Function one()
    Function two()
    End Function
End Function
Run Code Online (Sandbox Code Playgroud)

但是,由于未封闭的功能,此声明在VB.NET中无效.

.net vb.net function nested-function

8
推荐指数
2
解决办法
9800
查看次数

标签 统计

.net ×1

function ×1

nested-function ×1

vb.net ×1