using System.Collections.Generic;
public string Name {get;set;}
public string Age {get;set;}
public static void Main()
Dictionary<string, Part> test = new Dictionary<string, Part>();
Dictionary<string, string> ret = test.Select(p => new { objectId = p.Value.Name, role = p.Value.Age })
.ToDictionary(p => p.objectId, p => p.role);