using System.Collections.Generic;
public static void Main()
Dictionary<string, Foo> dict = new Dictionary<string, Foo>();
dict.Add("A", new Foo("a"));
dict.Add("B", new Foo("bb"));
dict.Add("C", new Foo("ccc"));
var resultArray = dict.Values.Select(r => r.ToUpper()).ToArray();
foreach (var s in resultArray)