By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,519 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

integer overflow mode

P: n/a
Dear all,
is it possible to switch somehow to the mode where
integer.maxvalue+1 will return integer.minvalue instead of throwing the
exception?
Thanks,
Boni
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Boni" <oilia@nospam> schrieb:
is it possible to switch somehow to the mode where
integer.maxvalue+1 will return integer.minvalue instead of throwing the
exception?


"Project" -> "Properties" -> "Configuration properties" ->
"Optimizations" -> [X] "Remove check for integer overflow".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.