Summary
Formats text for a collection value,
starting at a particular point, to a max length
- Namespace
- TCLite
.Constraints - Containing Type
- MsgUtils
Syntax
public static string FormatCollection(IEnumerable collection, long start = 0, int max = 10)
Parameters
Name | Type | Description |
---|---|---|
collection | IEnumerable | The collection containing elements to write. |
start | long | The starting point of the elements to write |
max | int | The maximum number of elements to write |
Return Value
Type | Description |
---|---|
string |