public string GetPhrase() { //local variable int randomNumber = Random.Next(Phrases.Count); return(Phrases.ElementAt(randomNumber)); }