Microsoft Exam Questions

Which code segment should you recommend?

You are evaluating the following code that is part of a method named SelectMove:

You need to recommend a replacement for the for each loop to reduce the amount of time that it
takes for SelectMove to execute.
Which code segment should you recommend?

A.
Option A

B.
Option B

C.
Option C

D.
Option D