For testing purposes, I need to create an IEnumerable> object with the following sample key value pairs:
IEnumerable>
You can simply assign a Dictionary to IEnumerable>
Dictionary
IEnumerable> kvp = new Dictionary();
If that does not work you can try -
IDictionary dictionary = new Dictionary(); IEnumerable> kvp = dictionary.Select((pair) => pair);