Here is a standard if … then statement in C# followed by a single line example. Using a single line if statement will reduce the number of lines of code.

if (dayOfTheWeek == "Tuesday")
{
    lunchLocation = "Fuddruckers";
}
else
[continue reading]