https://techdefenderhub.com/master-the-c-ternary-operator-concise-conditionals/