using System;
using System.Collections.Generic;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static void Main(string[] args)
{
List<int> list = new List<int>();
for (int i = 0; i < 10; i++)
list.Add(i);
Console.WriteLine(String.Join(" ", list));
}
}
}
/*
run:
0 1 2 3 4 5 6 7 8 9
*/