[Solved] Launch all URLs in webbrowser c# 2 seconds to 2 seconds


I think you are overwriting your websites-object in every loop with the following line:

websites = new List<string> {"https://mbasic.facebook.com/groups/"+groups[i]}.GetEnumerator();

That’s why it only prints the last website.

Have a look at How can I add an item to a IEnumerable collection?

Furthermore this could help you, too: IEnumerable vs. IEnumerator and implementation

9

solved Launch all URLs in webbrowser c# 2 seconds to 2 seconds