Nektodron, спасибо заработало.
Прошу помочь разбораться ещё с одним моментом. Как в приведённом ниже примере обратиться к [i-1], с использоанием list.Add(0); не получилось:
Code:
System.Collections.Generic.IList<double> var8 = context.GetData("var8", null, delegate {
int count = System.Math.Min(var18.Count, var17.Count);
System.Collections.Generic.List<double> list = new System.Collections.Generic.List<double>(count);
for (int i = 0; (i < count); i++)
{
list.Add((var17[i]-var18[i])/var18[i]);
}
return list;
});