mathieu_cupryk
asked on
Restart at the begining of the for each
I have the following
For Each filename As String In ListofFiles
If (Path.GetExtension(filenam e).Equals( ".TXT") Or Path.GetExtension(filename ).Equals(" .txt")) Then
break;?
I am not sure if it is break to restart at the beginning of the for each.
For Each filename As String In ListofFiles
If (Path.GetExtension(filenam
break;?
I am not sure if it is break to restart at the beginning of the for each.
are you converting C# to VB.Net? Usually break is to get out of a structure (outside the For in your case). Can we see the original C# code?
also, we normally see the break statement in a switch structure (Case in VB).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.