Exam4Training

What does the following expression do?

What does the following expression do?

subTotalAdditions.Select(Function(field) CDec(documentFields(field))).ToList.Sum() + subtotal
A . Sums up subtotal fields from the config file converted to CDec with the subtotal.
B . Sums up all the line amounts and converts the fields to CDec.
C . Sums up all the line amounts converted to CDec and the subtotal
D . Sums up the subtotal to the total variable by converting it to CDec

Answer: C

Exit mobile version