C#C
C#3y ago
CoolBlu_e

new to c#

when I run dotnet run this code
using System;

namespace project_acsv
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            console.ReadKey();
        }
    }
}

it sends
/Users/myusername/Desktop/project acsv/Program.cs(10,13): error CS0103: The name 'console' does not exist in the current context [/Users/myusername/Desktop/project acsv/project acsv.csproj]

The build failed. Fix the build errors and run again.
Was this page helpful?