Beispiel #1
0
    public void GetMedal(string fStr)
    {
        medals = new List<Medal>();
        string[] lMedal = fStr.Split('|');
        Service1 ser = new Service1();
        foreach(string str in lMedal)
        {
            string rs = ser.GetMedal(int.Parse(str));
            Medal tMedal = new Medal();
            tMedal.SetData(rs);

            medals.Add(tMedal);
        }
    }