DHI.Mike1D
DHI.Mike1D
Namespaces
DHI.Mike1D.Generic
Pair Class
Pair Methods
DictionaryFromArray Method
DictionaryFromArray(T1, T2) Method (Pair(T1, T2)[])
DictionaryFromArray(T1, T2) Method (IDictionary(T1, T2), Pair(T1, T2)[])
DictionaryFromArray(T1, T2) Method (Pair(T1, T2)[], IEqualityComparer(T1))
Pair
DictionaryFromArray
T1
,
T2
Method (IDictionary
T1
,
T2
,
Pair
T1
,
T2
)
Populate (empty) dictionary with values from array of key-value pairs.
Namespace:
DHI.Mike1D.Generic
Assembly:
DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
Copy
public
static
void
DictionaryFromArray
<T1, T2>(
IDictionary
<T1, T2>
dict
,
Pair
<T1, T2>[]
arr
)
Parameters
dict
Type:
System.Collections.Generic
IDictionary
T1
,
T2
arr
Type:
DHI.Mike1D.Generic
Pair
T1
,
T2
Type Parameters
T1
T2
See Also
Reference
Pair Class
DictionaryFromArray Overload
DHI.Mike1D.Generic Namespace