17 sb.Append(List,
null);
30 bool HasDelimiter = !
string.IsNullOrEmpty(Delimiter);
34 while (!(Loop is
null))
36 for (i = Loop.
Start, c = Loop.
Pos; i < c; i++)
60 return List.Concatenate(
null);
71 StringBuilder sb =
new StringBuilder();
72 sb.Append(List, Delimiter);
Node referencing a chunk in a ChunkedList<T>
ChunkNode< T > Next
Next chunk
int Pos
Index after the last element in chunk.
int Start
Index of first element in chunk.
static void Append(this StringBuilder sb, ChunkedList< string > List, string Delimiter)
Appends the elements of a chunked list with string elements, to a string builder.
static string Concatenate(this ChunkedList< string > List)
Concatenates the string elements of a chunked list.
static string Concatenate(this ChunkedList< string > List, string Delimiter)
Concatenates the string elements of a chunked list.
static void Append(this StringBuilder sb, ChunkedList< string > List)
Appends the elements of a chunked list with string elements, to a string builder.
A chunked list is a linked list of chunks of objects of type T .
ChunkNode< T > FirstChunk
First chunk