Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created May 25, 2021
Embed
What would you like to do?
//C#8
button.Click += (s, e) => {Message.Box.Show("Button clicked"); };
//C#9
button.Click += (_, _) => {Message.Box.Show("Button clicked"); };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment