Linq for nested loop

前端 未结 0 659
南旧
南旧 2021-02-07 17:06

I have a loop as follows:

foreach(x in myColl) 
{
    foreach(var y in x.MyList) 
    {
        result.Add(x.MyKey + y)
    }
}

That means with

相关标签:
回答
  • 消灭零回复
提交回复
热议问题