Skip to content
This repository was archived by the owner on Apr 23, 2023. It is now read-only.

Commit a28447a

Browse files
formula 1 data updates 2018
1 parent e323206 commit a28447a

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

LINQ/LinqSamples/DataLib/Formula1.cs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ private static List<Racer> InitializeRacers() =>
3636
new Racer("Jacques", "Villeneuve", "Canada", 165, 11, new int[] { 1997 }, new string[] { "Williams" }),
3737
new Racer("Mika", "Hakkinen", "Finland", 160, 20, new int[] { 1998, 1999 }, new string[] { "McLaren" }),
3838
new Racer("Michael", "Schumacher", "Germany", 287, 91, new int[] { 1994, 1995, 2000, 2001, 2002, 2003, 2004 }, new string[] { "Benetton", "Ferrari" }),
39-
new Racer("Fernando", "Alonso", "Spain", 291, 32, new int[] { 2005, 2006 }, new string[] { "Renault" }),
40-
new Racer("Kimi", "Räikkönen", "Finland", 271, 20, new int[] { 2007 }, new string[] { "Ferrari" }),
41-
new Racer("Lewis", "Hamilton", "UK", 208, 62, new int[] { 2008, 2014, 2015, 2017 }, new string[] { "McLaren", "Mercedes" }),
39+
new Racer("Fernando", "Alonso", "Spain", 314, 32, new int[] { 2005, 2006 }, new string[] { "Renault" }),
40+
new Racer("Kimi", "Räikkönen", "Finland", 294, 21, new int[] { 2007 }, new string[] { "Ferrari" }),
41+
new Racer("Lewis", "Hamilton", "UK", 229, 73, new int[] { 2008, 2014, 2015, 2017, 2018 }, new string[] { "McLaren", "Mercedes" }),
4242
new Racer("Jenson", "Button", "UK", 306, 16, new int[] { 2009 }, new string[] { "Brawn GP" }),
43-
new Racer("Sebastian", "Vettel", "Germany", 198, 47, new int[] { 2010, 2011, 2012, 2013 }, new string[] { "Red Bull Racing" }),
43+
new Racer("Sebastian", "Vettel", "Germany", 220, 52, new int[] { 2010, 2011, 2012, 2013 }, new string[] { "Red Bull Racing" }),
4444
new Racer("Nico", "Rosberg", "Germany", 207, 24, new int[] { 2016 }, new string[] { "Mercedes" })
4545
};
4646

@@ -67,7 +67,7 @@ public static IList<Team> GetConstructorChampions()
6767
new Team("Renault", 2005, 2006 ),
6868
new Team("Brawn GP", 2009),
6969
new Team("Red Bull Racing", 2010, 2011, 2012, 2013),
70-
new Team("Mercedes", 2014, 2015, 2016, 2017)
70+
new Team("Mercedes", 2014, 2015, 2016, 2017, 2018)
7171
};
7272
}
7373
return s_teams;
@@ -147,7 +147,8 @@ public static IEnumerable<Championship> GetChampionships()
147147
new Championship(2014, "Lewis Hamilton", "Nico Rosberg", "Daniel Ricciardo"),
148148
new Championship(2015, "Lewis Hamilton", "Nico Rosberg", "Sebastian Vettel"),
149149
new Championship(2016, "Nico Rosberg", "Lewis Hamilton", "Daniel Ricciardo"),
150-
new Championship(2017, "Lewis Hamilton", "Sebastian Vettel", "Valtteri Bottas")
150+
new Championship(2017, "Lewis Hamilton", "Sebastian Vettel", "Valtteri Bottas"),
151+
new Championship(2018, "Lewis Hamilton", "Sebastian Vettel", "Kimi Räikkönen")
151152
};
152153
}
153154
return s_championships;
@@ -190,8 +191,8 @@ private static IList<Racer> GetMoreRacers()
190191
_moreRacers.Add(new Racer("Juan Pablo", "Montoya", "Columbia", starts: 94, wins: 7));
191192
_moreRacers.Add(new Racer("Felipe", "Massa", "Brazil", starts: 269, wins: 11));
192193
_moreRacers.Add(new Racer("Mark", "Webber", "Australia", starts: 215, wins: 9));
193-
_moreRacers.Add(new Racer("Daniel", "Ricciardo", "Australia", starts: 129, wins: 5));
194-
_moreRacers.Add(new Racer("Valtteri", "Bottas", "Finland", starts: 97, wins: 3));
194+
_moreRacers.Add(new Racer("Daniel", "Ricciardo", "Australia", starts: 150, wins: 7));
195+
_moreRacers.Add(new Racer("Valtteri", "Bottas", "Finland", starts: 119, wins: 3));
195196
}
196197
return _moreRacers;
197198
}

0 commit comments

Comments
 (0)