How to convert a UInt32 to Int

  • Thread starter Thread starter Guest
  • Start date Start date
The quick answer is.... Convert.ToInt32(obj)

But, as you're probably aware, there is a probability of overflow.

Betcha can't wait for VStudio2005 where we get unsigned types!
 
* "Emmet Gray said:
The quick answer is.... Convert.ToInt32(obj)

But, as you're probably aware, there is a probability of overflow.

Betcha can't wait for VStudio2005 where we get unsigned types!

.... but there will still be an overflow...
 
Back
Top