I have the following C# code:
if (client.Action == "show")
{
result = "s";
}
else
{
result = answersCorrect ? "t" : "f";
}
Is there a way I can remove the if and else and use two levels of ? and :