I have a list like
"test", "bla", "something", "else"
But when I use Aggrate on it and at the same time I call the function, it seems to me that after 2 'iterations' the result of the first is passed to?
I use it like:
myList.Aggregate((current, next) => someMethod(current) + ", "+ someMethod(next));
and when I put a breakpoint in the someMethod function, where some kind of conversion of information to myList takes place, I notice that after the third call I get the result from the previous conversion as an input parameter.
source share