What is the difference between these 2? I am talking about performance and file size.
public String Method()
{
if(condition) return "a"; else return "b";
}
and
public String Method()
{
return condition ? "a": "b";
}
Which do you prefer and why? Same question for
(condition == false)
and (!condition)