Skip to content

Overload_CodeJam_Collections_CollectionExtensions_EmptyIfNull

Andrew Koryavchenko edited this page Jun 17, 2018 · 1 revision

CollectionExtensions.EmptyIfNull Method

Overload List

 

Name Description
Public methodStatic member EmptyIfNull(TKey, TValue)(Dictionary(TKey, TValue)) Returns an empty instance of the dictionary for null values.
Public methodStatic member EmptyIfNull(T)(IEnumerable(T)) Returns an empty instance of the collection for null values.
Public methodStatic member EmptyIfNull(T)(List(T)) Returns an empty instance of the collection for null values.
Public methodStatic member EmptyIfNull(T)(T[]) Returns an empty instance of the array for null values.
Public methodStatic member EmptyIfNull(TKey, TValue)(Dictionary(TKey, TValue), IEqualityComparer(TKey)) Returns an empty instance of the dictionary for null values.
  Back to Top

See Also

Reference

CollectionExtensions Class
CodeJam.Collections Namespace

Clone this wiki locally