ListExtensions.Add<T>
Extension Method in ListExtensions
Declaration
public static void Add<T>(this List<T> list, T value, int amount)
Description
Adds a specified amount of a given value to the list.
Type Parameters
T | The type of the list. |
Parameters
list | The list to add to. |
value | The value to add. |
amount | The number of times to add the value. |