Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 971 Bytes

SortingNetworks.SNBoseNelson.Sort2Descending_T_(T).md

File metadata and controls

25 lines (16 loc) · 971 Bytes

SNBoseNelson.Sort2Descending(T) Method

Sorts a collection of 2 elements in descending order using the System.IComparable<> generic
interface implementation of each element.

public static void Sort2Descending<T>(ref T p0)
    where T : System.IComparable<T>;

Type parameters

T

The type of the elements of the collection.

Parameters

p0 T

the reference to the first element of the collection