static object[,] Transpose(object[] array) { object[,] result = new object[array.Length, 1]; for (int i = 0; i < array.Length; i++) { result[i,0] = array[i]; } return result; }