MyStringJoin Method
Overloads
MyStringJoin(IEnumerable<String>) |
Returns a comma-separated list of the items -- unless it only contains exactly TWO items, then it returns the two values separated by " and ". |
MyStringJoin(IEnumerable<String>)
Returns a comma-separated list of the items -- unless it only contains exactly TWO items, then it returns the two values separated by " and ".
Declaration
public static string MyStringJoin(IEnumerable<string> iList)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | iList |
Returns
Type | Description |
---|---|
System.String |
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!