MCPcopy Create free account
hub / github.com/3rfaan/courses / ShouldPlay

Function ShouldPlay

C#/ReturnMethods/Program.cs:7–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5if (ShouldPlay()) PlayGame();
6
7bool ShouldPlay()
8{
9 string input = Console.ReadLine();
10
11 return input.ToLower().Equals("y");
12}
13
14void PlayGame()
15{

Callers 2

Program.csFile · 0.85
PlayGameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected