PS: I'm using Visual Studio .NET 2003
>I am trying to build a simple C# console application but it will not
>compile. VS doesn't recognize the "console" keyword. Here is the code:
[quoted text clipped - 28 lines]
>
>What gives?
C# is a case-sensitive language. Class names (Console) and names of
class methods (WriteLine) are usually written in Pascal casing, i.e
first letter of each word is uppercase. In your program, if you
change the line where you are trying to invoke the console to what
follows your program should compile and run;
Console.WriteLine("hello");
When you get a problem like this start by looking in the help for the
particular class you are trying to use, i.e. Console, to see how the
various members are spelled and how to use them.
Ken Wilson
Seeking viable employment in Victoria, BC
DKW - 03 Dec 2005 00:49 GMT
I knew the answer had to be simple! Thanks for the answer Ken -- right
on the money!