public string votting() { int max = 0; string type = ""; foreach (CoordinatePoint item in coordinatePoints) { int m = countVote(item.type); if (m > max) { max = m; type = item.type; } } return type; }