lambda表达式vb
时间: 2023-09-08 21:13:34 浏览: 147
Lambda表达式在VB.Net中可以用来创建匿名函数或者表达式树状范式。在VB.Net中,要创建一个Lambda表达式,需要在Lambda运算符"=>"的左侧输入参数(如果有的话),并在另一侧输入表达式或语句内容。例如,Lambda表达式x=>x * x表示指定一个名为x的参数,并返回x的平方。Lambda表达式在VB.Net中被广泛用于支持LINQ(即语言集成查询)。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [VB.NET学习笔记:再谈委托——同步、异步、Lambda 表达式和内置委托](https://blog.csdn.net/zyjq52uys/article/details/89312828)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Java 8 Lambda表达式,让写代码不再繁琐](https://blog.csdn.net/weixin_28862113/article/details/114964536)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文