Addition (For)

using System
class example
{
public static void Main()
{
int i;
int sum = 0;
for(i=1;i<11;i++)
{
sum = sum + i;
Console.WriteLine(i);
}
}