This post aims to dissect the power that exists in the Aggregate LINQ operator. I have realized that most programmers use it sparingly and have decided to put a couple of examples to clarify how you can use the Aggregate operator to perform a few tricks.
The screenshot below relates to the small examples that follow.
The aggregate operator is interesting in that it enables accumulation of items to form some result. This comes in handy when we need to create new data items from others. In my exampl... (more)