title: How can I get the binary representation of a value
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2954962/decimal-to-binary-conversion-in-c">Decimal to binary conversion in c #</a>  </p>
  </blockquote>
  
  
  
  <p>I have number such as 3, 432, 1, etc . Where I need to convert these number to set of zero &amp; ones, and then store these bits in an array of integers, but not sure how I can get the bits representation of any integer.</p>