Is my understanding of this piece of code correct?
<p>I'm reviewing some code from one of our contractors:</p>

<pre><code>if (userLists != null)
{
    Int32 numberOfItems = userLists.Count;
    if ((numberOfItems &amp; 1) == 1)
    {
        var emptyList = new tblList();
        userLists.Add(emptyList);
    }
}
</code></pre>

<p>Now, I'm trying to understand this, so, can someone please confirm with me if I have got this right or not?</p>

<ol>
<li>Do we have an instance of a userList?</li>
<li>Yes. Get a the number of items in the userLists object.</li>
<li>if (the number of items equals 1  (Yes/true) AND 1 equals 1 (yes/True) ) AND that result equals 1 (Yes/True), then add an empty list object to the list.</li>
<li>Else: nothing.</li>
</ol>

<p>If so (W.T.FFFFFFFFFFFFFFFFFFFF !!!!!!!!!!), that can be refactored to </p>

<pre><code>if (numberOfItems == 1)
{
..
}
</code></pre>

<p>but even that's crap because I don't want a list with 'empty' items.</p>

<p>So did I read that piece of code correctly?</p>

<p>Oh, one more sigh at the use of <code>Int32</code> vs <code>Int</code> :( (but I digress).</p>
