EnumerableExtensionsAverage(IEnumerableNullableBinarySize) Method
Computes the average of a sequence of nullable
BinarySize values.
Namespace: OokiiAssembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.1.0+e86ae44c345422a1011f7fa7b6b715bf3d1a34ce
public static BinarySize? Average(
this IEnumerable<BinarySize?> source
)
<ExtensionAttribute>
Public Shared Function Average (
source As IEnumerable(Of BinarySize?)
) As BinarySize?
public:
[ExtensionAttribute]
static Nullable<BinarySize> Average(
IEnumerable<Nullable<BinarySize>>^ source
)
[<ExtensionAttribute>]
static member Average :
source : IEnumerable<Nullable<BinarySize>> -> Nullable<BinarySize>
- source IEnumerableNullableBinarySize
-
A sequence of nullable BinarySize values to calculate the average of.
NullableBinarySize
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
IEnumerableNullableBinarySize. 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).