You are developing an application that displays a list of race results. The race results are stored in the following class:
public class RaceSpeedRecord
{
public RaceSpeedRecord Faster;
public RaceSpeedRecord Slower;
public string Race;
public double Time;
}
The code that manages the list as follows:
pubic class Results
{
pubic Results()
{
CurrentOlympicRecord = new RaceSpeedRecord();
}
public RaceSpeedRecord CurrentOlympicRecord;
public void AddRace(string raceName, double time)
{
}
}
You need to implement the Add Race method.
Match the code segment to its location. (To answer, drag the appropriate code segment from the column on the left to its location on the right, Each code segment may be used once, more than once, or not at all. Each correct match is worth one point.)
{"60.0953_27.2411":[{"id":18486135,"answer":"current.Time","x":60.0953,"y":27.2411},{"id":18486140,"answer":"2-current.Faster","x":60.0953,"y":27.2411}],"64.8634_35.0982":[{"id":18486136,"answer":"1-current.Slower","x":64.8634,"y":35.0982}],"62.5438_59.4792":[{"id":18486137,"answer":"1-current.Faster","x":62.5438,"y":59.4792},{"id":18486138,"answer":"current.Race","x":62.5438,"y":59.4792}],"62.5438_66.7649":[{"id":18486139,"answer":"2-current.Slower","x":62.5438,"y":66.7649}]}
Arraste a resposta correta para cada ponto laranja.
current.Time
current.Time
1-current.Slower
1-current.Slower
1-current.Faster
1-current.Faster
current.Race
current.Race
2-current.Slower
2-current.Slower
2-current.Faster
2-current.Faster