c# fold list

C#
double product = doubles.Aggregate(1.0, (prod, next) => prod * next);
Source

Also in C#: