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.
2.1m questions
2.1m answers
60 comments
57.0k users