MicrosoftMicrosoft
GH-300 · Question #72
GH-300 Question #72: Real Exam Question with Answer & Explanation
Sign in or unlock GH-300 to reveal the answer and full explanation for question #72. The question stem and answer options stay visible for context.
Use GitHub Copilot for code development
Question
How can you use GitHub Copilot to get inline suggestions for refactoring your code? (Select two.)
Options
- ABy adding comments to your code and triggering a suggestion.
- BBy highlighting the code you want to fix, right-clicking, and selecting "Fix using GitHub Copilot."
- CBy running the gh copilot fix command.
- DBy using the "/fix" command in GitHub Copilot in-line chat.
- EBy highlighting the code you want to fix, right-clicking, and selecting "Refactor using GitHub
Unlock GH-300 to see the answer
You've previewed enough free GH-300 questions. Unlock GH-300 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#GitHub Copilot#Refactoring#Inline suggestions#Code Development