I am not sure if this is possible or not.
Lets say a I have class C1
that have a List<double>
inside:
class C1{
List<double> theList {get;set}
double someVar {get;}
}
I can get somevar
through the string path "C1.somevar"
and the same thing is valid for the list. However, is there a way for me to use string paths to retrieve a specific element of the list? Something like "C1.theList.0"
The reason behind is that in OxyPlot I want to be able to set the DataFielY
of a LineSeries
to a specific element in the list.
Cheers