in reply to Re: Line number problem with foreachin thread Line number problem with foreach
I know while loop will work. But I wanted why it is behaving differently with foreach.