I'm trying to take a Select and project each elements into a Dictionary<string, UdpReceiveResult> I currently have a Select that just projects the value of a Dictionary to a list tasks of type UdpReceiveResult. clients is a dictionary of type Dictionary<string, UdpClient>. I have
var tasks = clients.Select(c => c.Value.ReceiveAsync()).OrderByCompletion(); I want to project the key and ReceiveAsync() result into a new Dictionary. The OrderByCompletion is from Nito.AsyncEx dll.