Dim count As Integer list.ForEach(Sub(x) count += x.Length)
Dim count = list.Sum(Function(x) x.Length)
Visual Basic 2010 Express | Microsoft Visual StudioWhat is sub? I get error.
That's odd, so that means 3? It's not adding or averaging or counting, though.That's solved with this line of code.
(From a in List Select (a(2))).Distinct
Thanks