public void WriteListContent(T[] list) { var text = new StringBuilder(); text.AppendLine(SplitterLine(_chars.TopRow())); text.AppendLine(TextLine(GetHeader())); text.AppendLine(SplitterLine(_chars.MiddleRow())); for (var i = 0; i < list.Length; i++) { text.AppendLine(TextLine(GetFields(list[i]))); } text.AppendLine(SplitterLine(_chars.BottomRow())); Console.WriteLine(text.ToString()); }