Home » C# String Join() method

C# String Join() method

by Online Tutorials Library

C# String Join()

The C# Join() methods is used to concatenate the elements of an array, using the specified separator between each element. It returns a modified string.

Signature

Parameter

first: it is a string type parameter.

second: it is a string array.

Return

It returns a string.


C# String Join() Method Example

Output:

Hello-C#-by-tutoraspire 

You may also like