Get each line separately, and use
double.TryParse[
^] to convert each value individually to a double variable.
You can then add each double to your array, either by working out in advance how many elements you will need - the number of lines will tell you that - and using an index to step though it as you convert, or by using a List<double> and it's Add method.