|
CollectionExtensionsMedianT Method
|
Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
Syntax
Remarks
If enumeration length is even, two items will be returned representing the items in the middle of the set;
otherwise, if the enumeration length is odd, one item will be returned from exactly the middle of the set.
See Also