+ 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") }
3 Antworten
+ 4
Maybe put the semicolon at the end?
+ 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");
0
It doesnt work. Also it says hat i have no input when i have input