我想在.SelectMany(). 我有一个Object,其中包含一个Dictionary<String,FileInfo>. 对于这些字典中的每个元素,我希望将 Key 放入 String.Format(),但我总是将"System.Linq.Enumerable+<SelectManyIterator>d__142[System.String,System.Char]"其作为返回值。
我的错在哪里?
String.Format(
"All Strings : {0} on {1} ",
MyObject.MyDictionary.Keys.SelectMany(x => x),
MyObject.Type);