Thank you both I realized my stupid mistake. I was writing in the Value to save the entire assign like this intArray = stringArray.Select(Function(x) Convert.ToInt32(x)).ToArray() instead of just stringArray.Select(Function(x) Convert.ToInt32(x)).ToArray().