EnumerableExtensionsAverage(IEnumerableBinarySize) Method
Computes the average of a sequence of
BinarySize values.
Namespace: OokiiAssembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
public static BinarySize Average(
this IEnumerable<BinarySize> source
)
<ExtensionAttribute>
Public Shared Function Average (
source As IEnumerable(Of BinarySize)
) As BinarySize
public:
[ExtensionAttribute]
static BinarySize Average(
IEnumerable<BinarySize>^ source
)
[<ExtensionAttribute>]
static member Average :
source : IEnumerable<BinarySize> -> BinarySize
- source IEnumerableBinarySize
-
A sequence of BinarySize values to calculate the average of.
BinarySizeThe average of the values in the sequence.In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableBinarySize. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).