private static void PrintPeople()

in 10-Debugging/DebuggingDemo/Program.cs [45:59]


        private static void PrintPeople(List<Person> people)
        {
            for (var i = 0; i < people.Count; i++)
            {
                var person = people[i];
                
                // Control flow
                // Add breakpoint on next line (`var company = person.Company`)
                // Right click on `i` in Debug tool window, set value to 0 - resets loop
                // Alternatively, right click on line with `for` above, select "Set Next Statement" - resets loop
                var company = person.Company;
                
                PrintPerson(person);
            }
        }