✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Comment ce comporte le code suivant ?
var ps = Array.Empty<Process>()
.Select(x => new { Name = x.ProcessName, Memory = x.PrivateMemorySize64 })
.GroupBy(x => Math.Truncate(x.Memory / Math.Pow(1024, 3)))
.OrderBy(x => x.Key);
var itemGroup = ps.First();
var item = itemGroup.First();
var name = item.Name;
Le code fournit compile, vous devez déterminer si une exception ce produit ou non à l'exécution de ce code