Instead of:
if (!string.IsNullOrEmpty(state) && state.Length == 2)
{
...
}
do this:
bool stateIsValid = !string.IsNullOrEmpty(state) && state.Length == 2;
if (stateIsValid)