How to convert string array into integer array ?
=> bellow code is convert the string array(credix_str) to integer array(credix_int).
CODE :-
int[] credit_int = new int[credit_str.Count];
for (int x = 0; x < credit_str.Count; x++)
{
credit_int[x] = Convert.ToInt32(credit_str[x].ToString());
}
--
/\/ir@\/ <(.'.)>
CODE :-
int[] credit_int = new int[credit_str.Count];
for (int x = 0; x < credit_str.Count; x++)
{
credit_int[x] = Convert.ToInt32(credit_str[x].ToString());
}
--
/\/ir@\/ <(.'.)>
Comments
Post a Comment