int inner;
string result = " ";
for (int outer = 0; outer < 3; outer++)
{
for (inner = 10; inner > 5; inner--)
{
result += string.Format("Outer: {0} Inner: {1}
", outer,
inner);
}
} MessageBox.Show(result);
}