Returns the maximum value of the elements of an array.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Shared Function Max ( _ data As DateTime() _ ) As DateTime |
| C# |
|---|
public static DateTime Max ( DateTime[] data ) |
| C++ |
|---|
public: static DateTime Max ( array<DateTime>^ data ) |
Parameters
- data ()
- An DateTime array.
Return Value
The maximum value of the elements of data.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | data is nullNothingnullptr. |