What does an lambda expression like _=> expr mean?
_=> expr
What is the purpose of _ as input to lambda?
_
Example:
int count = 0; list.ForEach(_ => count += 1);
That is a convention used when you don't care about the parameter.
1.4m articles
1.4m replys
5 comments
56.9k users