Static won't work :( | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Static won't work :(

The static thing for methods in C# doesn't work for me on code playground or visual studio so when I remove it it says args can't be used I am so confused :(

14th Sep 2018, 11:57 AM
David Lorenzo
David Lorenzo - avatar
4 Réponses
+ 2
you have 2 main functions, and are trying to nest static methods. reduce the amount of main methods to 1, and put the sayHi() method outside of it. https://code.sololearn.com/cu4SP9wt4hx4/?ref=app
14th Sep 2018, 7:42 PM
hinanawi
hinanawi - avatar
+ 2
Please share your code and the exceptions.
14th Sep 2018, 12:15 PM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
14th Sep 2018, 7:27 PM
David Lorenzo
David Lorenzo - avatar
0
thanks 😁
14th Sep 2018, 9:00 PM
David Lorenzo
David Lorenzo - avatar