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:
Try the following:
int[] intArray = new int[] { 5, 4, 6, 1, 6, 8 }; int total = 0; for (int i = 0; i < intArray.Length; i++) { int index = intArray.Length - i - 1; total += ((int)Math.Pow(10, index)) * intArray[i]; }