0

Can someone tell me why is the name not showing in the output i tbe code in desc.?

https://code.sololearn.com/c8Q0Oq4VC3p0/?ref=app

28th Dec 2019, 6:02 PM
Trap Brain
Trap Brain - avatar
2 Answers
+ 2
Hello Brainy Batein , Look at this ... NoobKing = Console.ReadLine(); Console.WriteLine("Hello {0}, your Name", NoobKing); // add NoobKing Here value of <NoobKing> variable will be used to replace {0}, you forgot this. Also, I recommend to pick another name for variable <NoobKing>, since your class name was also NoobKing. C# wouldn't consider it a problem, but for bigger projects, you may accidentally confuse your code readers : o
28th Dec 2019, 6:34 PM
Ipang
0
PLS ANSWER
28th Dec 2019, 6:02 PM
Trap Brain
Trap Brain - avatar