ListExtensions.RemoveLast<T>

Extension Method in ListExtensions

Declaration

public static void RemoveLast<T>(this List<T> list)

Description

Removes the last item in the list.

Type Parameters

TThe type of the list.

Parameters

listThe list to remove from.