1- namespace DataLib ;
1+ namespace DataLib ;
22
33public static class Formula1
44{
@@ -34,12 +34,13 @@ public static class Formula1
3434 new ( "Jacques" , "Villeneuve" , "Canada" , 165 , 11 , new int [ ] { 1997 } , new string [ ] { "Williams" } ) ,
3535 new ( "Mika" , "Hakkinen" , "Finland" , 160 , 20 , new int [ ] { 1998 , 1999 } , new string [ ] { "McLaren" } ) ,
3636 new ( "Michael" , "Schumacher" , "Germany" , 287 , 91 , new int [ ] { 1994 , 1995 , 2000 , 2001 , 2002 , 2003 , 2004 } , new string [ ] { "Benetton" , "Ferrari" } ) ,
37- new ( "Fernando" , "Alonso" , "Spain" , 335 , 32 , new int [ ] { 2005 , 2006 } , new string [ ] { "Renault" } ) ,
38- new ( "Kimi" , "Räikkönen" , "Finland" , 351 , 21 , new int [ ] { 2007 } , new string [ ] { "Ferrari" } ) ,
37+ new ( "Fernando" , "Alonso" , "Spain" , 336 , 32 , new int [ ] { 2005 , 2006 } , new string [ ] { "Renault" } ) ,
38+ new ( "Kimi" , "Räikkönen" , "Finland" , 352 , 21 , new int [ ] { 2007 } , new string [ ] { "Ferrari" } ) ,
3939 new ( "Jenson" , "Button" , "UK" , 306 , 16 , new int [ ] { 2009 } , new string [ ] { "Brawn GP" } ) ,
40- new ( "Sebastian" , "Vettel" , "Germany" , 278 , 53 , new int [ ] { 2010 , 2011 , 2012 , 2013 } , new string [ ] { "Red Bull Racing" } ) ,
40+ new ( "Sebastian" , "Vettel" , "Germany" , 280 , 53 , new int [ ] { 2010 , 2011 , 2012 , 2013 } , new string [ ] { "Red Bull Racing" } ) ,
4141 new ( "Nico" , "Rosberg" , "Germany" , 207 , 24 , new int [ ] { 2016 } , new string [ ] { "Mercedes" } ) ,
42- new ( "Lewis" , "Hamilton" , "UK" , 286 , 102 , new int [ ] { 2008 , 2014 , 2015 , 2017 , 2018 , 2019 , 2020 } , new string [ ] { "McLaren" , "Mercedes" } ) ,
42+ new ( "Lewis" , "Hamilton" , "UK" , 288 , 103 , new int [ ] { 2008 , 2014 , 2015 , 2017 , 2018 , 2019 , 2020 } , new string [ ] { "McLaren" , "Mercedes" } ) ,
43+ new ( "Max" , "Verstappen" , "Netherlands" , 141 , 20 , new int [ ] { 2021 } , new string [ ] { "Red Bull Racing" } )
4344 } ;
4445
4546 private static List < Team > ? s_teams ;
@@ -59,10 +60,9 @@ public static class Formula1
5960 new ( "Ferrari" , 1961 , 1964 , 1975 , 1976 , 1977 , 1979 , 1982 , 1983 , 1999 , 2000 , 2001 , 2002 , 2003 , 2004 , 2007 , 2008 ) ,
6061 new ( "Brawn GP" , 2009 ) ,
6162 new ( "Red Bull Racing" , 2010 , 2011 , 2012 , 2013 ) ,
62- new ( "Mercedes" , 2014 , 2015 , 2016 , 2017 , 2018 , 2019 , 2020 )
63+ new ( "Mercedes" , 2014 , 2015 , 2016 , 2017 , 2018 , 2019 , 2020 , 2021 )
6364 } ;
6465
65-
6666 private static List < Championship > ? s_championships ;
6767 public static IEnumerable < Championship > GetChampionships ( ) => s_championships ??= new ( )
6868 {
@@ -136,7 +136,8 @@ public static class Formula1
136136 new ( 2017 , "Lewis Hamilton" , "Sebastian Vettel" , "Valtteri Bottas" ) ,
137137 new ( 2018 , "Lewis Hamilton" , "Sebastian Vettel" , "Kimi Räikkönen" ) ,
138138 new ( 2019 , "Lewis Hamilton" , "Valtteri Bottas" , "Max Verstappen" ) ,
139- new ( 2020 , "Lewis Hamilton" , "Valtteri Bottas" , "Max Verstappen" )
139+ new ( 2020 , "Lewis Hamilton" , "Valtteri Bottas" , "Max Verstappen" ) ,
140+ new ( 2021 , "Max Verstappen" , "Lewis Hamilton" , "Valtteri Bottas" )
140141 } ;
141142
142143 private static List < Racer > ? _moreRacers ;
@@ -173,8 +174,7 @@ public static class Formula1
173174 new Racer ( "Juan Pablo" , "Montoya" , "Columbia" , Starts : 94 , Wins : 7 ) ,
174175 new Racer ( "Felipe" , "Massa" , "Brazil" , Starts : 269 , Wins : 11 ) ,
175176 new Racer ( "Mark" , "Webber" , "Australia" , Starts : 215 , Wins : 9 ) ,
176- new Racer ( "Daniel" , "Ricciardo" , "Australia" , Starts : 208 , Wins : 8 ) ,
177- new Racer ( "Valtteri" , "Bottas" , "Finland" , Starts : 176 , Wins : 10 ) ,
178- new Racer ( "Max" , "Verstappen" , "Netherlands" , Starts : 139 , Wins : 19 )
177+ new Racer ( "Daniel" , "Ricciardo" , "Australia" , Starts : 210 , Wins : 8 ) ,
178+ new Racer ( "Valtteri" , "Bottas" , "Finland" , Starts : 178 , Wins : 10 )
179179 } ;
180180}
0 commit comments