I would like to know how to correct the following error:
The error is absolutely descriptive. The definition of your IEnumerable
can not be directly inside the namespace
, it must be inside a class. Move the definition within the class Juego
.