In C# i just put the method in the parentheses that i want to run on each row of the collection, but it isn't working in VB.NET.
ex:
SubSonic.PartCollection Parts;
...
Parts.ForEach(TestMethod);
I've tried this in VB.Net, but it's not compiling, and i'm not quite sure what I'm missing.
Dim Parts as SubSonic.PartCollection
...
parts.ForEach(TestMethod)
If i break it apart and do it manually it works:
for each p as SubSonic.Part in Parts
TestMethod(p)
next
I'm just trying to clean things up a little
Thanks Tony W