How can I work with tuples in a foreach loop?

The following code doesn't work:

foreach Tuple(x, y) in sql.lineparams(lines)
{

}

sql.lineparams(lines) is array of tuples <int, string>

Edit
Report