title: How to convert a group of Hexadecimal to Decimal (Visual Studio )
body: <p><img src="https://i.stack.imgur.com/Z6SJ3.png" alt="Group of Hex in textbox"></p>
  
  <p><img src="https://i.stack.imgur.com/stSoi.png" alt="eg: using smaller groups of values "></p>
  
  <p><strong>I want to retrieve like in Pic2, the values in Decimal.</strong> ( hardcoded for visual understanding)</p>
  
  <p>This is the codes to convert Hex to Dec for 16 bit: </p>
  
  <pre><code>        string H;
          int D;
  
          H = txtHex.Text;
          D = Convert.ToInt16(H, 16);
          txtDec.Text = Convert.ToString(D);
  </code></pre>
  
  <p>however it doesn't work for a whole group </p>