Hello,
On Dynamics 2009 AX code,
when I want to compare integer value to several values, I do:
if (i == 1 || i == 2 || i == 5 || i == 8 | i == 15) ...
How can I do the above simplier and shorter?
(Something like if (i in (1,2,5,15)) - but this is not the right syntax).
Thanks :)