Compares the two instances and returns the greater of the two.
public static T Max<T>(T first, T second)
parameter | description |
---|---|
first | The first instance to compare. |
second | The second instance to compare. |
The instance representing the greater value.