I have a text file contain :
10 2 3
20 4 5
25 1 0
6 0 0
i have read the whole file into a richtextBox, now i need to read each number from each line and assign them to a function.
eg: length = 10
height = 2;
width = 3.
can anyone tell me how to read each element in the line, I am finding only ReadTo end anf ReadLine option. I am not getting how to read each element and initialize to a function.
varshaPosted Nov 24, 2017, 7:57 AM
Nilesh ShahPosted Nov 23, 2017, 10:34 AM
Nilesh ShahPosted Nov 23, 2017, 9:42 AM