EnumerableExtensionsAverage(IEnumerableNullableUBinarySize) Method
Computes the average of a sequence of nullable
UBinarySize values.
Namespace: OokiiAssembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
public static UBinarySize? Average(
this IEnumerable<UBinarySize?> source
)
<ExtensionAttribute>
Public Shared Function Average (
source As IEnumerable(Of UBinarySize?)
) As UBinarySize?
public:
[ExtensionAttribute]
static Nullable<UBinarySize> Average(
IEnumerable<Nullable<UBinarySize>>^ source
)
[<ExtensionAttribute>]
static member Average :
source : IEnumerable<Nullable<UBinarySize>> -> Nullable<UBinarySize>
- source IEnumerableNullableUBinarySize
-
A sequence of nullable UBinarySize values to calculate the average of.
NullableUBinarySize
The average of the values in the sequence, or
if
source
is empty or contains only values that are
.
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableNullableUBinarySize. 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).