namespace Something.Something
{
public static class Whatever
{
public static int GetNumber(bool? foo)
{
int bar = 13;
if (foo == null)
{
bar = 42;
}
else if (foo == true)
{
bar = 69;
}
else
{
bar = 86;
}
return bar;
}
}
}
No comments:
Post a Comment