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





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA