IEnumerable with C #

-1

I would like to know how to correct the following error:

    
asked by Jose Sepulveda 09.02.2018 в 05:57
source

1 answer

5

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 .

    
answered by 09.02.2018 в 08:55