ListExtensions.Reversed<T>

Extension Method in ListExtensions

Declaration

public static List<T> Reversed<T>(this List<T> list)

Description

Reverses the order of the items in the list.

Type Parameters

TThe type of the list.

Parameters

listThe list to reverse.

Returns

ListTA new list with the order of the items reversed.