Which is the fastest method for convert an string\'s array [\"1\",\"2\",\"3\"] in a int\'s array [1,2,3] in c#?
thanks
The is no fast way I know but you can use a "short way":
var numbers = new[] {"1", "2", "3"}; var result = numbers.Select(s => int.Parse(s)); int[] resultAsArray = result.ToArray();
And if you use PLink you get to compute the values in parallel.