SyntaxFix
Write A Post
Hire A Developer
Questions
I found this easier to understand:
List<string> names = new List<string> { "One", "Two", "Three", "Four", "Five" }; for (int i = 0; i < names.Count; i++) { Console.WriteLine(names[i]); }