title: if else with checkbox and string
body: <p>could someone help me figure out what I am doing wrong. I have tried so many ways and can't get it to work in all cases at same time.</p>
  
  <p>Our symbol devices have multiple firmware versions that cause issues with the wireless card in the device. if the firmware version is 86.09.0000 it will work fine. If the firmware version if anything else "01.09.000" it will cause issues so i have it dump a cab file with factory firmware and reboot device.</p>
  
  <p>Thanks for help, below is working code.</p>
  
  <pre><code>if (checkBox1.Checked &amp;&amp; myString == "86.09.0000")
          {
  
           //check box checked and correct string
  
  
          }
          else if ((checkBox1.Checked == false) &amp;&amp; (myString == "86.09.0000"))
          {
           //check box not checked and correct string
  
          }
          else
              {
                 // string doesn't match
              }
  </code></pre>