I have this:
if (input.Text.ToUpper() == \"STOP\")
But there are so many possible values that I wouldn\'t be able to specify them all sepa
You could use a collection like array and Enumerable.Contains:
var words = new[]{ "STOP", "END", "NO", "YES" }; if(words.Contains(input.Text.ToUpper())) { // ... }