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.

Nilesh ShahRank #42 · 34.2K reputationPosted Nov 23, 2017, 4:42 AM EST
Nilesh ShahRank #42 · 34.2K reputationPosted Nov 23, 2017, 5:34 AM EST
varsha46 reputationPosted Nov 24, 2017, 2:57 AM EST