What is Wrong in My Code!! (it's Coding to Print your name) | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

What is Wrong in My Code!! (it's Coding to Print your name)

In First Code it's Right if I Slightly changed its comming Wrong. Check it!! Link :- https://code.sololearn.com/cOrV3IrlEfme/?ref=app

22nd Jun 2021, 7:06 AM
Yash Saple
2 Respostas
+ 5
Yash Saple Because your 2nd block is outside the main method main() { //This block will be consider for main method } { //this block is without method which is wrong. } And this line is also wrong: Console.WriteLine.("Start?") //you missed semicolon and added dot https://code.sololearn.com/carKO6nZYF5m/?ref=app
22nd Jun 2021, 7:19 AM
AĶ¢J
AĶ¢J - avatar
22nd Jun 2021, 7:26 AM
Yash Saple