What is the correct ternary operation here? - C#