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

Comments

Popular posts from this blog

How to use serial.write() in Arduino.

How to make and use web service in Microsoft Dynamics Navision.

How to Generate random rows in dataset using c#.net