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!");