+ 1

Iā€™m stuck on the 4.2 PRACTICE

I did all of the stuff that I could find out what to do but someone it would make more stuff that I need to fix! Here is the code. using System; namespace MyApp { class Program { static void Main(string[] args) { //output "C# is cool" } } } static void Main(string[] args) { Console.WriteLine (;"C# is cool") }

30th Aug 2021, 7:46 PM
A random banana
A random banana - avatar
3 Answers
+ 4
Maybe put the semicolon at the end?
30th Aug 2021, 7:52 PM
Tim
Tim - avatar
+ 1
Uh?Iā€™m stuck on the 4.2 PRACTICE using System; namespace MyApp { class Program { static void Main(string[] args) { //output "C# is cool" Console.WriteLine ("C# is cool"); } } } Your program have 3 errors: 2nd function Main not in Class. Two program startpoints. Console.WriteLine(;"C# is cool") It should be Cnssole.WriteLine("C# is cool");
31st Aug 2021, 9:16 PM
GDSHNIK
GDSHNIK - avatar
0
It doesnt work. Also it says hat i have no input when i have input
30th Aug 2021, 8:07 PM
A random banana
A random banana - avatar