Seelan Rajagopal <t-******@microsoft.com.NO_SPAM> wrote:
Im Compiling a simple program is the command promt. I have set all the
paths needed to run the compiler. But when I use csc myprogram.cs, it says
that the program does not have an entry point defined. Can someone please
help me solve this problem?
You need to have a class with one of the following methods:
static void Main()
static void Main(string[] args)
static int Main()
static int Main(string[] args)
Or you could compile your code as a library, using the /t:library
compiler option.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too