Use string.IsNullOrEmpty instead of .Length.