Language.BuildList(IEnumerable<String>, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Given a list of string values generate a proper English list.
public static string BuildList (System.Collections.Generic.IEnumerable<string> values, string separator, string lastSeparator);
static member BuildList : seq<string> * string * string -> string
Public Shared Function BuildList (values As IEnumerable(Of String), separator As String, lastSeparator As String) As String
Parameters
- values
- IEnumerable<String>
Value in list.
- separator
- String
Separator between all elements except last.
- lastSeparator
- String
Last element separator.
Returns
Value in a proper English list.