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
2 odpowiedzi
+ 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
+ 3
🅰🅹 🅐🅝🅐🅝🅣
Thank You