c# 委托 事件 lamda 简写

btnOK.Click += delegate{ MessageBox.Show("OK"); };
btnOK.Click += (sender, e) => { MessageBox.Show("OK"); };

原文地址:https://www.cnblogs.com/lanymy/p/2772746.html