SortedSetExtensions.ForEach<T>
Extension Method in SortedSetExtensions
Declaration
public static void ForEach<T>(this SortedSet<T> set, Action<T> action)Description
Invokes an action on each element in the set. The element is passed as a parameter.
Type Parameters
| T | The type of the elements in the set. |
Parameters
| set | The set to iterate over. |
| action | The action to invoke on each element. |