You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can create your own calculations using the Aggregate method.
This method is similar to the other aggregate methods like
Average , Count and ... . However it allows you specify a custom function.
The basic overload accepts a function that has 2 parameters and return a value
Sometimes it is necessary to execute the function for every item in a collection,
rather than skipping the first value. In such cases you can provide a seed value for the accumulator
as the first argument of the Aggregate method