Пример #1
0
    public void ResultInput(ResultData result, string team)
    {
        ResultData newResult = result.ClassCopy();

        if (team.Equals("red"))
        {
            redTeamResults.Add(newResult);
        }
        else if (team.Equals("blue"))
        {
            blueTeamResults.Add(newResult);
        }
    }