Why I am getting this type of error | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Why I am getting this type of error

https://code.sololearn.com/cL8746pEGZP0/?ref=app Hi Everyone I am going to run a generic class of type int but I am getting an error----- "error CS5001:Program does not contain a static Main method Suitable for an entry point" plz anybody tell me the Solution for this error

6th May 2021, 9:21 AM
Ur-Wellwisher
Ur-Wellwisher - avatar
1 ответ
- 1
You put Main class in Program class
6th May 2021, 9:34 AM
Michal Doruch