This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Lampda | |
| { | |
| /* | |
| You will see two classes have two code snippets to see how lampda is working here. | |
| Notes: | |
| Consider you have an array a = {1, 2, 3, 4} | |
| - So Reverse will change the order of the array and it will be like that {4, 3, 2, 1} | |
| - And Aggregate is working by this way: | |
| Aggregate((previousValue, next) => do whatever) |