public String segString(Directory dir) {StringBuilder b = new StringBuilder();b.append("MergeSpec:\n");final int count = merges.size();for(int i=0;i<count;i++) {b.append("  ").append(1 + i).append(": ").append(merges.get(i).segString());}return b.toString();}

public virtual string SegString(Directory dir){StringBuilder b = new StringBuilder();b.Append("MergeSpec:\n");int count = Merges.Count;for (int i = 0; i < count; i++){b.Append("  ").Append(1 + i).Append(": ").Append(Merges[i].SegString(dir));}return b.ToString();}
