Javatpoint Logo
Javatpoint Logo

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-javatpoint




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA