static List <String> getTeamID(string team) { var data = APIhandler.getTeamID(team); foreach (var i in data) { Debug.WriteLine(i); } return(data); }