Table of Contents

Method Max

Namespace
PaintDotNet
Assembly
PaintDotNet.Fundamentals.dll

Max<T>(T, params ReadOnlySpan<T>)

public static T Max<T>(T val1, params ReadOnlySpan<T> values) where T : INumber<T>

Parameters

val1 T
values ReadOnlySpan<T>

Returns

T

Type Parameters

T

Max(int, int)

public static int Max(int val1, int val2)

Parameters

val1 int
val2 int

Returns

int

Max(int, int, int)

public static int Max(int val1, int val2, int val3)

Parameters

val1 int
val2 int
val3 int

Returns

int

Max(int, int, int, int)

public static int Max(int val1, int val2, int val3, int val4)

Parameters

val1 int
val2 int
val3 int
val4 int

Returns

int

Max(int, int, int, int, int)

public static int Max(int val1, int val2, int val3, int val4, int val5)

Parameters

val1 int
val2 int
val3 int
val4 int
val5 int

Returns

int

Max(int, int, int, int, int, int)

public static int Max(int val1, int val2, int val3, int val4, int val5, int val6)

Parameters

val1 int
val2 int
val3 int
val4 int
val5 int
val6 int

Returns

int

Max(int, int, int, int, int, int, int)

public static int Max(int val1, int val2, int val3, int val4, int val5, int val6, int val7)

Parameters

val1 int
val2 int
val3 int
val4 int
val5 int
val6 int
val7 int

Returns

int

Max(int, int, int, int, int, int, int, int)

public static int Max(int val1, int val2, int val3, int val4, int val5, int val6, int val7, int val8)

Parameters

val1 int
val2 int
val3 int
val4 int
val5 int
val6 int
val7 int
val8 int

Returns

int

Max(int, params ReadOnlySpan<int>)

public static int Max(int val1, params ReadOnlySpan<int> values)

Parameters

val1 int
values ReadOnlySpan<int>

Returns

int

Max(float, float)

public static float Max(float val1, float val2)

Parameters

val1 float
val2 float

Returns

float

Max(float, float, float)

public static float Max(float val1, float val2, float val3)

Parameters

val1 float
val2 float
val3 float

Returns

float

Max(float, float, float, float)

public static float Max(float val1, float val2, float val3, float val4)

Parameters

val1 float
val2 float
val3 float
val4 float

Returns

float

Max(float, float, float, float, float)

public static float Max(float val1, float val2, float val3, float val4, float val5)

Parameters

val1 float
val2 float
val3 float
val4 float
val5 float

Returns

float

Max(float, float, float, float, float, float)

public static float Max(float val1, float val2, float val3, float val4, float val5, float val6)

Parameters

val1 float
val2 float
val3 float
val4 float
val5 float
val6 float

Returns

float

Max(float, float, float, float, float, float, float)

public static float Max(float val1, float val2, float val3, float val4, float val5, float val6, float val7)

Parameters

val1 float
val2 float
val3 float
val4 float
val5 float
val6 float
val7 float

Returns

float

Max(float, float, float, float, float, float, float, float)

public static float Max(float val1, float val2, float val3, float val4, float val5, float val6, float val7, float val8)

Parameters

val1 float
val2 float
val3 float
val4 float
val5 float
val6 float
val7 float
val8 float

Returns

float

Max(double, double)

public static double Max(double val1, double val2)

Parameters

val1 double
val2 double

Returns

double

Max(double, double, double)

public static double Max(double val1, double val2, double val3)

Parameters

val1 double
val2 double
val3 double

Returns

double

Max(double, double, double, double)

public static double Max(double val1, double val2, double val3, double val4)

Parameters

val1 double
val2 double
val3 double
val4 double

Returns

double

Max(double, double, double, double, double)

public static double Max(double val1, double val2, double val3, double val4, double val5)

Parameters

val1 double
val2 double
val3 double
val4 double
val5 double

Returns

double

Max(double, double, double, double, double, double)

public static double Max(double val1, double val2, double val3, double val4, double val5, double val6)

Parameters

val1 double
val2 double
val3 double
val4 double
val5 double
val6 double

Returns

double

Max(double, double, double, double, double, double, double)

public static double Max(double val1, double val2, double val3, double val4, double val5, double val6, double val7)

Parameters

val1 double
val2 double
val3 double
val4 double
val5 double
val6 double
val7 double

Returns

double

Max(double, double, double, double, double, double, double, double)

public static double Max(double val1, double val2, double val3, double val4, double val5, double val6, double val7, double val8)

Parameters

val1 double
val2 double
val3 double
val4 double
val5 double
val6 double
val7 double
val8 double

Returns

double

Max<T>(T, T)

public static T Max<T>(T val1, T val2) where T : struct, IComparable<T>

Parameters

val1 T
val2 T

Returns

T

Type Parameters

T

Max<T>(T, T, T)

public static T Max<T>(T val1, T val2, T val3) where T : struct, IComparable<T>

Parameters

val1 T
val2 T
val3 T

Returns

T

Type Parameters

T

Max<T>(T, T, T, T)

public static T Max<T>(T val1, T val2, T val3, T val4) where T : struct, IComparable<T>

Parameters

val1 T
val2 T
val3 T
val4 T

Returns

T

Type Parameters

T

Max<T>(T, T, T, T, T)

public static T Max<T>(T val1, T val2, T val3, T val4, T val5) where T : struct, IComparable<T>

Parameters

val1 T
val2 T
val3 T
val4 T
val5 T

Returns

T

Type Parameters

T

Max<T>(T, T, T, T, T, T)

public static T Max<T>(T val1, T val2, T val3, T val4, T val5, T val6) where T : struct, IComparable<T>

Parameters

val1 T
val2 T
val3 T
val4 T
val5 T
val6 T

Returns

T

Type Parameters

T

Max<T>(T, T, T, T, T, T, T)

public static T Max<T>(T val1, T val2, T val3, T val4, T val5, T val6, T val7) where T : struct, IComparable<T>

Parameters

val1 T
val2 T
val3 T
val4 T
val5 T
val6 T
val7 T

Returns

T

Type Parameters

T

Max<T>(T, T, T, T, T, T, T, T)

public static T Max<T>(T val1, T val2, T val3, T val4, T val5, T val6, T val7, T val8) where T : struct, IComparable<T>

Parameters

val1 T
val2 T
val3 T
val4 T
val5 T
val6 T
val7 T
val8 T

Returns

T

Type Parameters

T