One Line IF Statement in C#