要怎么判断combobox 的值不为空呢?我直接这样写的,但是当为空的时候,却还执行里面内容
if (comboBox1.Text != null)                 
   for (int j = 4; j <= myvalues.Length; j++)
        {
           if (strArray[j - 1] != comboBox1.Text)
                 strArray[j - 1] = null;        }
该怎么改呢?