Back to Freecodecamp

Challenge Project - Create a Mini-Game

curriculum/challenges/english/blocks/create-methods-in-c-sharp-console-applications/647e22338acb466c97ccbeed.md

latest1.3 KB
Original Source

--description--

This challenge will be partially completed on the Microsoft Learn platform. Follow these instructions to complete the challenge:

  1. Go to <a href="https://learn.microsoft.com/training/modules/challenge-project-create-mini-game/" target="_blank" rel="noreferrer">https://learn.microsoft.com/training/modules/challenge-project-create-mini-game/</a> and complete all the tasks for the "Challenge Project - Create a Mini-Game" module. This is required to earn the "Create Methods in C# Console Applications" trophy on Microsoft Learn, and qualify for the certification exam.
  2. When you are finished, come back and correctly answer the question below.

--assignment--

Complete the <a href="https://learn.microsoft.com/training/modules/challenge-project-create-mini-game/" target="_blank" rel="noreferrer">Create a Mini-Game</a> challenge project on Microsoft Learn. Then, answer the question below.

--questions--

--text--

A developer wants to create a method that returns a value in an array. Which of the following options would be a good choice for a method signature?

--answers--

string GetValueAtIndex(string[] array, int index)


bool GetValueAtIndex(string[] array, int index)


int GetValueAtIndex(int index)

--video-solution--

1