+ 1
How would you convert all the elements of certain type to another type in an Array or a List
// from string[] source = { "1", "2", "3", "4", "5" }; // to int[] target = { 1, 2, 3, 4, 5 };
2 Respostas
+ 2
Nick , you can do it this way.
https://code.sololearn.com/caAUb5nm9RDD/?ref=app
+ 1
Thank you very much