foreach循环如何理解 请详细说一下

foreach循环怎么理解 请详细说一下foreach(DataRowmyRowinds2.Tables[0].Rows ){aaaa+myRow[0]+,}[解

foreach循环怎么理解 请详细说一下
foreach(DataRow myRow in ds2.Tables[0].Rows )
{
aa=aa+myRow[0]+",";
}

[解决办法]
遍历ds2.Tables[0]所有行
myRow代表每一行循环中的变量名
myRow[0]代表这行的第一列