I\'m interested if there is a way, in LINQ, to check if all numbers in a list are increasing monotonically?
Example
List l
By using an Enumerable.Aggregate method:
list1.Aggregate((a, i) => a > i ? double.MaxValue : i) != double.MaxValue;