Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question


Avatar of cilerler
cilerler asked on
.NET ProgrammingASP.NET
10 Comments1 Solution518 ViewsLast Modified:
I would like to return query below with the additional column which multiplies one of the column called "CalculatedRate" with previous record of the same column.  (Initial previous value is 1)

Dim DividendList4Final = From dividendItem In DividendList4Update
Select dividendItem

Here is the part I could do with For but I would like to do this in Linq and want to see it in same result
                Dim rate As New List(Of Double)
                Dim currentRate As Double = 1
                For Each dividendItem In DividendList4Final
                    currentRate *= dividendItem.dividendCalculatedRate

Thank you for your time and attention
Avatar of Fernando Soto
This problem has been solved!
Unlock 1 Answer and 10 Comments.
See Answers