What is the meaning of this expression?

Posted by kpax on Stack Overflow See other posts from Stack Overflow or by kpax
Published on 2009-03-15T09:10:35Z Indexed on 2010/04/07 2:23 UTC
Read the original article Hit count: 320

Filed under:
|
|
|

In this code:

Expression<Func<int, bool>> isOdd = i => (i & 1) == 1;

what is the meaning of (i & 1) == 1?

© Stack Overflow or respective owner

Related posts about LINQ

Related posts about .NET