First some working stats...
- Visual Studio 2015
- Visual Basic .NET
- Framework 4.6.1
- Windows 10 x64
Expand|Select|Wrap|Line Numbers
- For Each src As CommonStructures.Source_Type In SourcesConfig.Sources.Source
- ManageImageAndLatestFolders(src, ActionEnum.Add)
- Next
However...
The same block of code works just fine
Expand|Select|Wrap|Line Numbers
- For I as Integer = 0 to (SourcesConfig.Sources.Source - 1)
- ManageImageAndLatestFolders(SourcesConfig.SOurces.Source(I), ActionEnum.Add)
- Next I
I have tried to clean the application(Build -> Clean [Project]).
Any thoughts from anyone? What might I be missing?
I use For Each in lots of places in my code - and because of this anomaly I am afraid I'm doing something wrong that might be affecting much of my work!