convert string[] to int[]

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there any way (other then using a loop) to convert a string array to an
int array? Any help would be great. thanks

:// Jake
 
Jay,
Is there any way (other then using a loop) to convert a string array to an
int array? Any help would be great. thanks
No, however how much work is that, in addition what do you think that when
there was a method build for you, which would look the same as yours, what
was than done behind the scene?

It does not help, however before you seach to long.

Cor
 
I didn't think there was. I just thought it would be cool if you could do
something like:
string[] x = {"0", "3", "32", "98", "87"};
int[] y = int[].Parse(x);

**shrug** guess I'll just do a loop.

thanks
 
Back
Top