title: Convert two bytes to Int16 in C#?
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/1442583/good-way-to-convert-between-short-and-bytes">Good way to convert between short and bytes?</a><br>
    <a href="https://stackoverflow.com/questions/6406324/how-can-i-combine-4-bytes-into-a-32-bit-unsigned-integer">How can I combine 4 bytes into a 32 bit unsigned integer?</a>  </p>
  </blockquote>
  
  
  
  <p>Alright , so I am developing this virtual machine and it has 64 kbs of memory. I am using a byte[] array for the memory and I have one problem. How would I convert 2 bytes to a short or 4 bytes to a Int32?</p>