there is
d = System.IO.File.ReadAllLines (filename)
.Select (str => str.Split (new [] {'', '\ t'}))
.Select (str => str [0])
.Select (str => Convert.ToDouble (str.Replace ('.', ',')))
.ToArray ();
What to write instead of .Select(str => str[0]) so that I process all the elements of the array?
.Select(str => str[0])and in the line above useSelectMany- NikitaConvert.ToDouble(str.Replace('.', ',')). You must useIFormatProvider cInfo = new CultureInfo("en-US"); double.Parse(str, cInfo);IFormatProvider cInfo = new CultureInfo("en-US"); double.Parse(str, cInfo);- Andrei NOP