logo

Crowdly

Browser

Add to Chrome

Comment ce comporte le code suivant ? var ps = Process.GetProcesses() .Sel...

✅ 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 = Process.GetProcesses()

.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.FirstOrDefault();

var item = itemGroup.FirstOrDefault();

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

100%
0%
0%
0%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on lms.univ-cotedazur.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome