how do I add if statement in linq statement
<p>Can someone please help me add the if statement that's commented in the code snippet below?</p>

<pre><code>Dictionary&lt;string,int&gt; toReturn;
List&lt;string&gt; lookup = GetIt();

foreach (string test in lookup)
{
    var testDictionary = ToGroupDictionary(test);
    testDictionary.Keys.ToList().ForEach(k =&gt;
        //if(true){add toReturn list}
    );
}
</code></pre>
