« Return to Thread: Getting CS1002 even though I have ;

Re: Getting CS1002 even though I have ;

by Iggy MA :: Rate this Message:

Reply to Author | View in Thread

I don't think it should matter but have you tried making your MainClass public?


http://iggyma.blogspot.com/



iskai wrote:
I just installed Mono 1.9 onto a fresh MacBook using the binary release. First I wrote a hello world application, which worked file. Then I expanded it a little to see if file io worked properly.

Now i'm getting all kinds of errors. The program shown below is valid but the compiler believes otherwise. Before this (i recreated this project from scratch) the compiler insisted that I was missing the 'class' keyword from line 9 - even though it was on line 8.

Does anybody have any idea why this isn't working?

Picture+2.png

 « Return to Thread: Getting CS1002 even though I have ;