Correct answer: A. The surrounding code in the current file and, depending on configuration, other project files
Explanation
Copilot's suggestions are informed by surrounding code and, depending on configuration, other relevant project files.
Practise 3 questions on this topic
Take Copilot Basics — Timed Test (3 questions) — scored instantly, explanation for every question, no login.