Class DictionaryUtils
Creates dictionaries from simple name=value string pairs.
public class DictionaryUtils
- Inheritance
-
DictionaryUtils
- Inherited Members
Methods
Create(params string[])
Builds a dictionary from strings formatted as name=value.
public static Dictionary<string, string> Create(params string[] nameValuePairs)
Parameters
nameValuePairsstring[]The pairs to parse.
Returns
- Dictionary<string, string>
A dictionary containing the parsed keys and values.
Remarks
Entries without exactly one = separator are ignored.