This article will review the entry points into C # programs, and possible errors that can come across. The function to be called in any C # program is Main. We can have up to four ways to declare Main in our program. These are:
Code Snippet
- static void Main( ) {...}
- static int Main( ) {...}
- static void Main(string[ ] a) {...}
- static int Main(string[ ] args) {...}
0 comments:
Post a Comment