title: Incorrect value converting hexadecimal numbers to UInt C#
body: <p>I am trying to read a binary file in C#, but I am facing a problem.
  I declared the following:</p>
  <pre><code>public static readonly UInt32 NUMBER = 0XCAFEBABE;
  </code></pre>
  <p>Then while reading from the very beginning of the file I am asking to read the first 4 bytes (already tried different ways, but this is the simplest):</p>
  <pre><code>UInt32 num = in_.ReadUInt32(); // in_ is a BinaryReader
  </code></pre>
  <p>While I have that the 4 bytes are CA, FE, BA and BE (in hex) while convert them to <code>UInt</code> I am getting different values. NUMBER is 3405691582, num is 3199925962.
  I also tried to do this:</p>
  <pre><code>byte[] f2 = {0xCA, 0xFE, 0xBA, 0xBE};
  </code></pre>
  <p>and the result of doing <code>BitConverter.ToUInt32(new byte[]{0xCA, 0xFE, 0xBA, 0xBE},0)</code> is 3199925962.</p>
  <p>can anyone help me?</p>