C# 委托与 Lambda 表达式
C# 委托与 Lambda 表达式转换机制及弱事件模式下的生命周期详解
目录1. 委托内部结构2. Lambda 表达式转换为委托实例2.1 不捕获任何外部数据2.2 捕获实例成员(通过 this 访问)2.3 捕获非实例成员(例如局部变量)3. 委托实例的订阅与生命周期3.1 常规委托/事件订阅3.2 弱事件订阅[详细]
2025-04-10 13:44 分类:开发identifier token keyword antlr parser
How to handle the case where the token \'for\' is used in two different situations in the language to parse? Such as statement and as a \"parameter\" as the following example:[详细]
2022-12-28 21:32 分类:问答