There is no instance or extension method in .NET for a sequence of strings that will join them together as String.Join
does. If you want such an extension method you’ll have to write it yourself (which should be trivially easy, given that internally all it needs to do is call string.Join
).
Enumerable.Join
, which is the method you are seeing on IEnumerable<T>
, is referring to a Join in the set context, like what SQL does, and is a very different kind of operation.
3
solved What is the `Join()` method on `List().Join()` used for?