-
Notifications
You must be signed in to change notification settings - Fork 36
Overload_CodeJam_Collections_CollectionExtensions_DefaultIfEmpty
Andrew Koryavchenko edited this page Jun 17, 2018
·
1 revision
Name | Description | |
---|---|---|
![]() ![]() ![]() ![]() |
DefaultIfEmpty(T)(List(T), T) | Returns a new collection with default value if the collection is empty. |
![]() ![]() ![]() ![]() |
DefaultIfEmpty(T)(T[], T) | Returns a new array with default value if the array is empty. |
![]() ![]() ![]() ![]() |
DefaultIfEmpty(TKey, TValue)(Dictionary(TKey, TValue), TKey, TValue) | Returns a new dictionary with default value if the dictionary is empty. |
![]() ![]() ![]() ![]() |
DefaultIfEmpty(TKey, TValue)(Dictionary(TKey, TValue), TKey, TValue, IEqualityComparer(TKey)) | Returns a new dictionary with default value if the dictionary is empty. |