Net.Bluewalk.DotNetUtils/Extensions/StringExtensions.cs
/// <summary>
/// Parses array of string to array of int.
/// </summary>
/// <param name="value">The value.</param>
/// <returns>System.Int32[].</returns>
Parses array of string to array of int.
Parses array of string to array of int .
public static int[] ToIntArray(this string[] value)
        {
            int n;
            return value.Select(s => int.TryParse(s, out n) ? n : 0).ToArray();
        }
public static int [ ] ToIntArray ( this string [ ] value ) { int n ; return value . Select ( s => int . TryParse ( s , out n ) ? n : 0 ) . ToArray ( ) ; }
Parses array of string to array of int.
Parses array of string to array of int .
None
string[]
this
value
None