0
Did you know you can do this in CSharp?
Check out this code example, did you know you can do that? Now you do! https://code.sololearn.com/cFk805giuB80/?ref=app
2 ответов
0
I knew. They are called lambda expressions.
You can study more about it here.
https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/statements-expressions-operators/lambda-expressions
0
@Salekin It is called an "expression-bodied method", which though consist of a lambda expression, yes.