, ( , , - , ):
if (str != null && str == "SomeSpecialValue")
{
}
else if (str != null && str.Length > 1)
{
}
, , :
if (str == null) { }
else if (str == "SomeSpecialValue")
{
}
else if (str.Length > 1)
{
}
, , . , , - , , . , , , , , , . , , , (non-null input), , . , , , , , .
- Oren A - null, :
if (str != null)
{
if (str == "SomeSpecialValue")
{
}
else if (str.Length > 1)
{
}
}
, , .
EDIT. , do-nothing, , " ". , .