Hi,
Is there an easier, or cleaner, way to count the number of object in a list than:
All help appreciated,
Thanks.
Is there an easier, or cleaner, way to count the number of object in a list than:
Code:
For Each bk As Book In bookList
If TypeOf bk Is ChildrensBook Then
count += 1
End If
Next
Thanks.