Linq for nested loop : <p>I have a loop as follows:</p>

<pre><code>foreach(x in myColl) 
{
    foreach(var y in x.MyList) 
    {
        result.Add(x.MyKey + y)
    }
}
</code></pre>

<p>That means within my inner loop I need access to a property of the current outer element. </p>

<p>I´m looking for a LINQ-statement but I´m unsure on it. I tried it by using </p>

<pre><code>result = myColl
    .SelectMany(x =&gt; x.MyList)
    .SelectMany(x =&gt; /* how to get the key of the outer loop here */ + x)
</code></pre>
