This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
.NET has base classes to create applications. What was the function of the Random class in your minigame?
Random
Create a list of options for the user to choose from.
Be the user's opponent.
Calculate the score of the game.
What is the function of the ToLower method?
ToLower
Put the user's option in lowercase.
What is the function of the Console.ReadLine() method?
Console.ReadLine()
Get a user input.
What is the function of the break method?
break
Create a repetition structure.
End a repetition structure.
You must answer all questions before checking your work.
Was this page helpful?