Main Method...
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I have few basic queries...pLease help!! a) Can we have multiple Main methods in one class....? If yes how? b) Can i have Main Method which returns otherthan Int value ? Thanks!! Thanks!!
-
I have few basic queries...pLease help!! a) Can we have multiple Main methods in one class....? If yes how? b) Can i have Main Method which returns otherthan Int value ? Thanks!! Thanks!!
a - of course not. You can only have one entry point. That entry point can call any other methods you like, and do it based in command line arguments if you'd like. b - no.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )