I installed mono on my Suse 12.1. When I create a file, say hello.cs, and run mono hello.cs on the terminal, I get this error:
Cannot open assembly 'hello.cs': File does not contain a valid CIL image.
The contents of the file (hello.cs) are as below
class hello {
static void main () {
System.Console.WriteLine("Hello World");
}
}
What could be the problem, and how do I solve it?