text: public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PALETTE]\n");buffer.Append("  numcolors     = ").Append(field_2_colors.Count).Append('\n');for (int k = 0; k < field_2_colors.Count; k++){PColor c = (PColor)field_2_colors[k];buffer.Append("* colornum      = ").Append(k).Append('\n');buffer.Append(c.ToString());buffer.Append("");}}