I have a KeyValuePair<string,object>
and the object is also a KeyValuePair. I have been trying to cast the object to a new KeyValuePair so that I can iterate through the values, but so far all attempts have failed. Does anyone have any ideas. Thanks.
var installers = manifestDict.Where(kvp => kvp.Key.Equals("Installers"));
foreach(var i in installers)
{
var newKvp = i.Value;
//how to cast this object to a new kvp?
}