I have a List double values in which some of the elements are NaN. I want to convert this list
into multiple list of doubles using NaN as delimiter.
Example:
List<double> values = new List<double>
{ 1.2, 2.2, 3.2, Double.NaN, 2.2, 2.3, Double.NaN, 4.1, 4.2, 4.3 };
List<List<double>> result = values.SomeLinqOperator....
using the GroupDelimited Extension Method from here.