How to fix error CS 1022 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to fix error CS 1022

I NEED HELP ON FIXING THIS ERROR AND DONT KNOW HOW TO FIX IT. https://code.sololearn.com/c1O592q63qvl/?ref=app

23rd Jan 2021, 12:37 AM
Erika Alejandra Licona Garcia
Erika Alejandra Licona Garcia - avatar
1 Answer
+ 3
The error message say 46:1 which means line 46 which is a } If you manage the indentation, which means the preceding space of the { and }, you should see that you have one extra } remove the } and try again.
23rd Jan 2021, 12:59 AM
Gordon
Gordon - avatar