Flattens a dictionary (concatenating the keys using the specified separator, or "." if none.
public static IEnumerable<KeyValuePair<object, object>> Flatten(
this IEnumerable<KeyValuePair<object, object>> src, string parentKey = "",
string separator = ".")| parameter | description |
|---|---|
| src | Source Dictionary (as a IEnumerable) |
| parentKey | Initial key |
| separator | Keys separator (default: ".") |
- class DictionaryExtensions
- namespace Wokhan.Collections.Generic.Extensions