Posts by Rafael Luis da Costa Coelho • 1 point
1 post
-
0
votes2
answers993
viewsA: How to convert a string array[] to an integer array int[]
You can do it like this: int[] arrayInt1 = Array.ConvertAll(arrayString, x => int.Parse(x)); Or so: int[] arrayInt1 = Array.ConvertAll(arrayString, int.Parse);…