public static bool AsUInt32(this BigInt self, out uint ret) { if (self >= UInt32.MinValue && self <= UInt32.MaxValue) { ret = (UInt32)self; return true; } ret = 0; return false; }