title: Convert.ToInt32 in C#
body: <p>My problem is, when I want to convert <code>(result[i].JobOrder)</code> to int.I have a string 120100 in <code>(result[i].JobOrder)</code>. In return I get not integer but something  like "0x0001d524". And I could not understand why.</p>
  
  <pre><code>for (int i = 0; i &lt; result.Count; i++)
  {
      if (Convert.ToInt32(result[i].JobOrder) &gt; maxJobOrder)
      {
          maxJobOrder = Convert.ToInt32(result[i].JobOrder);
      }
  }
  </code></pre>