This post will discuss how to convert int array to string in C#.

1. Using String.Join Method

The String.Join method can be used to concatenate elements of the specified array using the specified separator between each element.

The following example shows how to use String.Join to convert an integer array to a comma-delimited string in C#.

Download  Run Code

2. Using Array.ForEach Method

If you just need to join together all elements of an array without any separator, you can append each element of the array to a StringBuilder instance using the Array.ForEach method.

Download  Run Code

3. Using Enumerable.Aggregate Method

Finally, you can apply an accumulator function over the given integer array sequence with a specified seed as the initial accumulator value. Here’s what the code would look like:

Download  Run Code

That’s all about converting int array to string in C#.