---
title: "String Join Method in c#"  
description: "String Join Method in c#"  
author: "Anonymous User"  
published: 2015-12-07  
updated: 2015-12-07  
canonical: https://www.mindstick.com/forum/33693/string-join-method-in-c-sharp  
category: "c#"  
tags: ["c#", "string"]  
reading_time: 1 minute  

---

# String Join Method in c#

I want to use [String](https://www.mindstick.com/articles/1527/string-split-in-c-sharp) [Join](https://www.mindstick.com/articles/1487/join-sleep-and-interrupt-methods-in-c-sharp-threading) [Method](https://www.mindstick.com/forum/166/webservice-method) in c# please help me.

## Replies

### Reply by Anonymous User

The string.Join method combines many strings into one. It receives two arguments: an array or IEnumerable and a separator string. It places the separator between every element of the collection in the returned string.

```
using System;class Program{    static void Main()    {        string[] arr = { "aditya", "pawan", "pankaj","suresh","sunil","suman","vrijesh","vikash","manoj" };        Console.WriteLine(string.Join(",", arr));             Console.WriteLine(String.Join(",", arr));        Console.Read();    }}
```

![String Join Method in c#](https://www.mindstick.com/mindstickforums/cd37da59-fe2f-4b45-a7e2-7ebfee839b5c/images/19d48f78-c4ae-449d-8c3f-d144dcd167ad.png)


---

Original Source: https://www.mindstick.com/forum/33693/string-join-method-in-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
