private void AddListToStringBuilder(IList list, StringBuilder sb) { IEnumerator en = list.GetEnumerator(); while (en.MoveNext()) { IPrintable printable = (IPrintable)en.Current; sb.Append(printable.ToPrint()); sb.Append("\r\n"); } }
private void AddListToStringBuilder(IList list, StringBuilder sb) { IEnumerator en = list.GetEnumerator(); while (en.MoveNext()) { IPrintable printable = (IPrintable)en.Current; sb.Append(printable.ToPrint()); sb.Append("\r\n"); } }