public int maxX() { int maxX = 0; foreach (DnaPoint p in Points) { maxX = Math.Max(maxX, p.X); } return maxX; }