[Fixed] The name ‘console’ does not exist in the current context

You get the following error when you try to print anything on the console. Below is the complete error message you get.

error CS0103: The name 'console' does not exist in the current context

C# is a case-sensitive language. That means, the C# compilers consider console and Console as different words. To fix this simple error message. Write capital C Console to print the message. Below is the sample Console statement to print the text.

Console.WriteLine("Hello World!");

Thank you All!!! Hope you find this useful.


Leave a Reply

Up ↑

Discover more from JD Bots

Subscribe now to keep reading and get access to the full archive.

Continue reading