 | ConversionListStringToString Method |
Create a string from a List of string
Namespace: ToolBooxAssembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static string ListStringToString(
List<string> list,
char separator,
bool allowDuplicates
)
Public Shared Function ListStringToString (
list As List(Of String),
separator As Char,
allowDuplicates As Boolean
) As String
Parameters
- list
- Type: System.Collections.GenericListString
List of string objects - separator
- Type: SystemChar
Separator to use (es: ',') - allowDuplicates
- Type: SystemBoolean
The returned string contains duplicated values or not
Return Value
Type:
StringReturn strign object (es: "name,lastname,address")
See Also