Element methods
Aggregation methods are used to perform aggregations of a numeric sequence.
Average, Min, Max and Sum accept an optional selector expression to extract the numeric value of an object. Count accepts an optional condition to filter the elements, that should be counted.
Title | Description |
---|---|
Sum method (with integers) | An example that shows the use of Sum (integers) with XSharp |
Sum method (with objects) | An example that shows the use of Sum (object) with XSharp |
Min method (with integers) | An example that shows the use of Min (integers) with XSharp |
Max method (with integers) | An example that shows the use of Max (integers) with XSharp |
Average method (with integers) | An example that shows the use of Average (integers) with XSharp |
Count method (with integers) | An example that shows the use of Count (integers) with XSharp |
Count method (with objects) | An example that shows the use of Count (objects) with XSharp |