get Running total from Array



        Dim data() As Int16 = {1, 2, 3, 5, 6, 7, 3}
        Dim U As Integer = data.Aggregate(0, Function(a, b) a + b)

Comments

Popular posts from this blog

Rebuild Index

Exclude property of Class Object from Serialization

Multiple Connection from Config File