(from x in Enumerable.Range(1, 9)
from y in Enumerable.Range(1, x)
select new { x, y }).ToList().ForEach(x => Console.Write("{0}*{1}={2}\t"+(x.x==x.y?"\n\r":""), x.y, x.x, x.x * x.y));
Console.Read();
for (int i = 1; i <= 9; i++)
{
for (int j = 1; j <= i; j++)
{
if (j == i)
Console.Write("{0}*{1}={2}\n\r", i, j, i * j);
else
Console.Write("{0}*{1}={2}\t", i, j, i * j);
}
}