Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

When enabling c# optimize code cause issue

$
0
0

I have two floating variable with value (value1 = 44.35 and value2 = 44.35).

If(value1 > value2)

//Do some operation

Without enabling optimize code check box in visual studion this condition check failed and nothing will executed.

When i enable this property then execution started even its failed (show as false when checking using mouseover). May i know the reason for these?


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>