C# Inline If Gotcha
So I was writing an inline if statement the other day… you know the ones – booleanStatement ? resultIfTrue : resultIfFalse; It was pretty simple, so I didn’t think too much about it until I ran some unit tests…. via GIPHY Here’s what my code kind of looked like: So, what would you expect the … [Read more…]