Joins the specified strings into one string.
public static string Join(this IEnumerable<string?> strings)
parameter | description |
---|---|
strings | The strings. |
All of the strings concatenated with no separator.
Joins the specified strings into one string.
public static string Join(this string[] array)
parameter | description |
---|---|
array | The strings. |
All of the strings concatenated with no separator.
Joins the specified strings using the specified separator.
public static string Join(this IEnumerable<string?> strings, string? separator)
parameter | description |
---|---|
strings | The strings. |
separator | The separator. (The empty string is used if null.) |
All of the strings concatenated with the specified separator.
Joins the specified strings using the specified separator.
public static string Join(this string[] array, string separator)
parameter | description |
---|---|
array | The strings. |
separator | The separator. (The empty string is used if null.) |
All of the strings concatenated with the specified separator.