I am having some trouble to achieve this little [round robin](http://en.wikipedia.org/wiki/Round-robin_tournament) project. What i try to do is to generate a preview calendar of games

then I want to output;

day 1:
Team 1 vs Team 2;
Team 3 vs Team 4;
Team 5vs Team 6;

day 2
Team 1 vs Team 4;
Team 6 vs Team 3;
Team 2 vs Team 5;

till the end of the championship;

Here is the code i've got so far but i'm having trouble to let the first team fixed while the rest of the array rotates...:

```
static void Main(string[] args)
   {
        string[] ListTeam = new string[] {"Equipe1", "Equipe2", "Equipe3", "Equipe4", "Equipe5", "Equipe6"};
        IList<Match> ListMatch = new List<Match>();
        it NumberOfDays = (ListTeam.Count()-1);
        int y = 2;

        for (int i = 1; i <= NumberOfDays; i++)
        {
            Console.WriteLine("\nDay {0} : \n",i);
            Console.WriteLine(ListTeam[0].ToString() + " VS " + ListTeam[i].ToString());

            for (y =ListTeam.Count(); y>0 ; y--)
            {
                Console.WriteLine(ListTeam[y].ToString() + " VS " + ListTeam[y+1].ToString());
                y++;
            }

        }
    }

```

EDIT: I found a [code sample in java but](http://www.developpez.net/forums/d267356-2/c-cpp/cpp/generation-calendrier-football/#post1700042) i cant translate it...