Home » Tag Archives:input

Tag Archives: input

Lambda expression with a void input

February 22, 2018 c# Leave a comment

Questions: Ok, very silly question. x => x * 2 is a lambda representing the same thing as a delegate for int Foo(x) { return x * 2; } But what is the lambda equivalent of int Bar() { return 2; } ??...