1
- namespace DataLib ;
1
+ namespace DataLib ;
2
2
3
3
public static class Formula1
4
4
{
@@ -34,12 +34,13 @@ public static class Formula1
34
34
new ( "Jacques" , "Villeneuve" , "Canada" , 165 , 11 , new int [ ] { 1997 } , new string [ ] { "Williams" } ) ,
35
35
new ( "Mika" , "Hakkinen" , "Finland" , 160 , 20 , new int [ ] { 1998 , 1999 } , new string [ ] { "McLaren" } ) ,
36
36
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" } ) ,
39
39
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" } ) ,
41
41
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" } )
43
44
} ;
44
45
45
46
private static List < Team > ? s_teams ;
@@ -59,10 +60,9 @@ public static class Formula1
59
60
new ( "Ferrari" , 1961 , 1964 , 1975 , 1976 , 1977 , 1979 , 1982 , 1983 , 1999 , 2000 , 2001 , 2002 , 2003 , 2004 , 2007 , 2008 ) ,
60
61
new ( "Brawn GP" , 2009 ) ,
61
62
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 )
63
64
} ;
64
65
65
-
66
66
private static List < Championship > ? s_championships ;
67
67
public static IEnumerable < Championship > GetChampionships ( ) => s_championships ??= new ( )
68
68
{
@@ -136,7 +136,8 @@ public static class Formula1
136
136
new ( 2017 , "Lewis Hamilton" , "Sebastian Vettel" , "Valtteri Bottas" ) ,
137
137
new ( 2018 , "Lewis Hamilton" , "Sebastian Vettel" , "Kimi Räikkönen" ) ,
138
138
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" )
140
141
} ;
141
142
142
143
private static List < Racer > ? _moreRacers ;
@@ -173,8 +174,7 @@ public static class Formula1
173
174
new Racer ( "Juan Pablo" , "Montoya" , "Columbia" , Starts : 94 , Wins : 7 ) ,
174
175
new Racer ( "Felipe" , "Massa" , "Brazil" , Starts : 269 , Wins : 11 ) ,
175
176
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 )
179
179
} ;
180
180
}
0 commit comments