Exemplo n.º 1
0
        public static KeyValuePair <string, List <int> > GetRoverPosition(string value)
        {
            string[] array = StringHelper.SplitStringIntoArray(value, ' ');

            return(new KeyValuePair <string, List <int> >(array.Last(), array.Where(a => a != array.Last()).Select(a => AlwaysConvert.ToInt32(a)).ToList()));
        }
Exemplo n.º 2
0
 public static List <int> GetIntegretValuesFromStringArray(string value)
 {
     string[] array = StringHelper.SplitStringIntoArray(value, ' ');
     return(array.Select(a => AlwaysConvert.ToInt32(a)).ToList());
 }