id X Y
1 10 12a
2 12.3 34j
3 23.3 89
4 45.5 45
5 12.6 12
This in notepad...
it has 5 rows..
I need to store this id value,X value ,Y value into structure ... in C#
string s="here i have line by line information"
elements e=new elements();
e.id=/*what to come here */
e.X=/*what to come here */
e.Y=/*what to come here */
that 5 rows values are not fixed..means it can change..
in this case,how i ll get that position of columns and store in structure .
dont use dataset or table...this is purely in notepad...
I need to put structure in loop so all line ll be stored