Question: What I would like to learn how to do is to convert an int array to an int in C#.

However I want to append the int with the values from the array.

Example:

```
int[] array = {5, 6, 2, 4};

```

Would be converted into an int that equals 5624.

Thanks for any help in advance.

Answer: 
Use this code you just want to concatenate you int array so use the following code

```
String a;
int output;
int[] array = {5, 6, 2, 4};
foreach(int test in array)
{
a+=test.toString();
}
output=int.parse(a);
//where output gives you desire out put

```

This is not an exact code.
Using LINQ

```
long result =  array.Aggregate((result, x) => result * 10 + x);

```