i have this type of code
long expiry_days = 121212212; //some long value here
if (expiry_days < 0)
but compiler issue a error that it can not convert long to int implicitly. My question why its require convertion here but there seems to be no need to do that :(. i rather assume that might be compiler inferring it from the if condition comparison i just change it to (expiry_days >(long)0) still same result why???
Thanks for Expert Opinions.
View Complete Post