I am completely new to LINQ in C#/.NET. I understand that I could use it to convert a DataSet into an Array/List, am I able to go in the opposite direction?
I’m using NPlot to generate a graph of captured prices, which are stored in a List, where PriceInformation is a class containing two public doubles and a DateTime.
Any suggestions very welcome.
There’s a method called CopyToDataTable. That method will only help if you already have a IEnumerable(DataRow)
Here’s how I’d do this: