ListExtensions.NonNull<T>
Extension Method in ListExtensions
Declaration
public static List<T> NonNull<T>(this List<T> list)
where T : class
Description
Filters out all null items from the list.
Type Parameters
T | The type of the list. |
Parameters
list | The list to filter. |
Returns
ListT | A new list with all null items removed. |