Guys, sorry for asking the main question,
I have a problem when I have an Int[][] jagged array, and I want to convert it to a Double[][] jagged array. Of course, I do not want to change the value inside the array, for example:
int[2][1] = 25
and when it converts to double,
int[2][1] = 25
still the same.
here is my code
value = File.ReadLines(filename) .Select(line => line.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries) .Select(MyIntegerParse) .ToArray() ) .ToArray();
So, I have a value [] [], which is an integer type. and I want to convert it to double.
Thanks for any help.
Reza
source share