Hi guys & gals.
I've just done the tradidtional hello world prog as my starter. Downloaded the latest .net framework from ms and followed all the instructions on the tutorial, renamed the text file to .cs and typed 'csc hello.cs'. I get the errors 'CS00116: A namespace does not directly contain members such as fields or methods'
'CS1518: Expected class,delegate,enum,inferace,or struct'
'CS1022: Type or namespace definition,or end of file expected'.
Here is my code:
Using System;
Class Hello {
Public static voice Main() {
Console.writeLine("Hello World!!!");
}
}//end main
Tried reading the tutorials,but they are just confusing me just now.
Thanks in advance for any help.
Del
I've just done the tradidtional hello world prog as my starter. Downloaded the latest .net framework from ms and followed all the instructions on the tutorial, renamed the text file to .cs and typed 'csc hello.cs'. I get the errors 'CS00116: A namespace does not directly contain members such as fields or methods'
'CS1518: Expected class,delegate,enum,inferace,or struct'
'CS1022: Type or namespace definition,or end of file expected'.
Here is my code:
Using System;
Class Hello {
Public static voice Main() {
Console.writeLine("Hello World!!!");
}
}//end main
Tried reading the tutorials,but they are just confusing me just now.
Thanks in advance for any help.
Del