Remember to enclose the text into double quotes and end the statement with a semicolon (;). | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Remember to enclose the text into double quotes and end the statement with a semicolon (;).

This is practice C#, having a hard time with the double quotes care to give some advice?

27th Aug 2021, 3:44 AM
Justin Williams
10 Answers
+ 6
Check it out for reference. All you need to replace Hello World to something https://www.sololearn.com/learn/Csharp/2584/
27th Aug 2021, 4:05 AM
Simba
Simba - avatar
+ 5
C should be uppercase in both C# and Console, W in Write. Also, there is an extra quote (") at the end. Console.Write("C# is cool");
27th Aug 2021, 4:45 AM
Simba
Simba - avatar
+ 5
They used double quotes to denote it's a variable or get focus on that. You're sure it isn't working? For me, it works fine Just copy and paste Console.Write("C# is cool");
27th Aug 2021, 5:48 AM
Simba
Simba - avatar
+ 1
So the output I believe im good with its the input that i’m having trouble with.
27th Aug 2021, 4:14 AM
Justin Williams
27th Aug 2021, 4:29 AM
Justin Williams
+ 1
using System; namespace MyApp { class Program { static void Main(string[] args) { console.write("c# is cool""); //output "C# is cool" } } }
27th Aug 2021, 4:43 AM
Justin Williams
+ 1
Still saying it’s not correct and i had to include the double quotes it mentioned that in the hint
27th Aug 2021, 4:54 AM
Justin Williams
+ 1
C will be gone soon don't worry
27th Aug 2021, 4:57 AM
Lardaneo
Lardaneo - avatar
+ 1
What’s replacing C?
27th Aug 2021, 4:59 AM
Justin Williams
+ 1
pictures, drag and drop, in a few years we will describe what we want and itll program itself. <3 it will be cool
27th Aug 2021, 7:41 AM
Lardaneo
Lardaneo - avatar