I’ve always indented ternary operator (?:) statements like so in languages that support them:
int fooCount = (isSeven) ? 7 : int.MaxValue;
I’ve never seen anyone else do it this way , but no one has complained about my style to my knowledge. If anyone has a strong opinion on the matter, for or against it, I’d like to know.