<p>If I have a VB.Net function that returns an Int32, but uses an unsigned int (UInt32) for calculations, etc.  How can I convert a variable "MyUintVar32" with a value of say "3392918397 into a standard Int32 in VB.Net?  </p>

<p>In c# if I just do a "return (int)(MyUintVar32);", I get -902048899, not an error.</p>

<p>I've tried several different methods.  What is the difference in the way c# handles these conversions versus VB.Net?</p>

It's not an optimal solution, but you can use BitConverter to get a byte array from the uint and convert the byte array to int.
```
```
Dim myUInt32 As UInt32 = 3392918397
Dim myInt32 As Int32 = BitConverter.ToInt32(BitConverter.GetBytes(myUInt32), 0)
```
```