Breaking News
Loading...
Friday 12 October 2012

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@\/  <(.'.)>

0 comments:

Post a Comment

Thanks for comment

 
Toggle Footer