✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
var pairs = Enumerable.Range(0,4)
.Select(i => (i, val: i*i))
.ToDictionary(t=>t.i, t=>t.val);
]]>