title: How can I find out if a check box is checked?
body: <p>I have 3 check boxes and I would like to write a statement in C# that will allow me to find out which of the boxes is checked. I tried using </p>
  
  <pre><code> if(check1.IsChecked.Value == 1){
  }
  </code></pre>
  
  <p>But that didnt seem to work. How can I solve this? I would also like to be able to get the text belonging to the checked check box. Here is the HTML code for the check boxes.</p>
  
  <pre><code>&lt;div&gt;
         &lt;h3&gt;Membership Type&lt;/h3&gt;
    &lt;label&gt;
      &lt;input type="checkbox" class="radio" value="1" name="check1" /&gt;Normal User&lt;/label&gt;
    &lt;label&gt;
      &lt;input type="checkbox" class="radio" value="1" name="check2" /&gt;Verified Reviewer&lt;/label&gt;
    &lt;label&gt;
      &lt;input type="checkbox" class="radio" value="1" name="check3" /&gt;Development Team&lt;/label&gt;
  
          &lt;/div&gt;
  </code></pre>