Inline if statement best practices in C#
When do we need to use inline statement in C# for best practices pls. For example, consider the if statement below with the condition of the if statement being writen on the same line. Why can we just write the break statement and omitting the curly braces pls. When is that considered a good practice? Say we have multiple if elseif statement, if one of the if else-if statement isn't an "inline" syntax, then every if statement shouldn't be inline ?
