I am working on a personal assistant program and I have a method called input_parse() which looks at the input string and checks for words that correspond to \"commands\" the ps
You can use IEnumerable.Any (for "or" conditions") or IEnumerable.All (for "and" conditions):
if (input.contains("argA")) {//execute command A} if (new[] { "argB", "argC" }.All(input.Contains)) {//execute command B}