Dim increment1 = Function(x) x + 1
在option strict:on+option infer:off的环境下无法通过编译

严格模式下VB的lambda表达式怎么写?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- threenewbee 2019-04-19 09:38关注
Dim increment1 As Func(Of Integer, Of Integer) = Func(x As Integer) x + 1
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报