© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
36 replies
CoolBlu_e

new to c#

when I run
dotnet run
dotnet run
this code
using System;

namespace project_acsv
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            console.ReadKey();
        }
    }
}
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.
/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.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

New to c#
C#CC# / help
15mo ago
✅ New to C#
C#CC# / help
15mo ago
✅ New to C#
C#CC# / help
2y ago
✅ new to c#
C#CC# / help
3y ago