I am not sure what it means to use lamba expressions as method adapters. I guess it has something to do parameters that in some cases do not have to be entered but not sure about it. I would be very thankful for an example and a bit of explanation.
Thnanks
I am not sure what it means to use lamba expressions as method adapters.
Share
For example if you have a function
foothat takes anFunc<int, string>, but you don’t care about the latterstringfor your existing methodhandler, then you can do:This is the adapter “ducktape” use of lamba.