Based on this, how would you make ignoring parameters more succint?
var m = menuStrip.Items.Add("Hello", null, delegate { MessageBox.Show("Como Esta Mundo"); });
I'm thinking along the lines of:
var m = menuStrip.Items.Add("Hello", null, ==> MessageBox.Show("Como Esta Mundo") );
var m = menuStrip.Items.Add("Hello", null, ? => MessageBox.Show("Como Esta Mundo") );
or perhaps this:
var m = menuStrip.Items.Add("Hello", null, ?=> MessageBox.Show("Como Esta Mundo") );
What would be your take?
<language evolution observation> They even add ?? operator to the language, which is indeed beautiful. Now I think if they would like to make a converse of it (i.e. NullIf operator), this is very useful if you want to treat something as the same "" or zero is equal to null </language evolution observation>