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: 
```
int result = 0;
int[] arr = { 1, 2, 3, 4};
int multipicator = 1;
for (int i = arr.Length - 1; i >= 0; i--)
{
   result += arr[i] * multipicator;
   multipicator *= 10;
}

```
if you want convert int[] to int?[] array , I just use for loop :(

```
 int[] First = Person.Select(p => p.ShiftID).ToArray();
                int?[] converted = new int?[First.Length];
                for (int im = 0; im < First.Length; im++)
                    converted[im] = First[im];

```

I cant Find a method to convert better with High Performance,