title: Best way to store UInt32 in Sql Server
body: <p>I'm working on an application that uses a third-party component, and this component returns a value that is of type UInt32.</p>
  
  <p>I need to store this UInt32 in a Sql Server table. I was thinking about just use a simple int column and insert the value like this:</p>
  
  <pre><code>int value = (int)(cs - int.MaxValue);
  </code></pre>
  
  <p>But I'm not sure if this is the best way for such task.</p>