Appearance
TakeAndRemove Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Primitives.dll
Dictionary<TKey, TValue> TakeAndRemove(IDictionary<TKey, TValue> source, int count)
csharp
Dictionary<TKey, TValue> TakeAndRemove(IDictionary<TKey, TValue> source, int count)Returns the number of items in Count and removes them from the source dictionary
Parameters
| Name | Description |
|---|---|
count | Number of items to Take |
source | The source Dictionary |
Returns
Dictionary<TKey, TValue>