C# Collections, Lambdas, and LINQ 路 Query Syntax | raywenderlich.com

This is a companion discussion topic for the original entry at https://www.raywenderlich.com/604358-c-collections-lambdas-and-linq/lessons/23

In the tutorial Query Syntax in program.cs line 65. I saw you originally use movies as the lambda expression variable, then you change it to movieList in order to avoid the error: A parameter named 'movies' cannot be declared in this scope because it would give a different meaning to 'movies', which is already used in a parent or current scope to denote something else. Would be great to get a bit more on why this error can happen?

Thanks fo your help!