Monday, July 18, 2005

C# Entry Point

One thing that I found useful in Java was the ability to declare multiple static void main(string [] args) functions in different classes. This made it easy to setup simple test code. It's technically possible to do the same thing in C#; however, in this case you must use the /main command line switch to tell C# which class contains the Main method you'd like to execute.

No comments: