Printing | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Printing

Im trying to print the phrase hello world! With this code: console.WriteLine(“hello world!”); But when i click run it says console not found im new to C# and i don’t understand whats wrong https://code.sololearn.com/cl08lEaSRvrw/?ref=app

10th Nov 2021, 1:33 PM
Chloe
Chloe - avatar
2 Answers
+ 2
This is a common mistake, you have put console.WriteLine("xyz") when it should be Console.WriteLine("xyz") your just missing the capital "C" at the beginning. Hope this helps
10th Nov 2021, 1:47 PM
thomas simpson
thomas simpson - avatar
+ 1
Thank you so much!
10th Nov 2021, 1:48 PM
Chloe
Chloe - avatar