posted 18 years ago
For argument's sake, say I have 2 methods that do something called Method1() and Method2(). How do i put the main method in the same file at the bottom so that I only need the one file to compile and run? The main method wouldnt actaully do much except allow the compiler to see that a main method was present.
e.g.
Method1()
.
.
.
Method2()
.
.
.
Where would 'main' go and what would it contain?
Cheers
[ February 27, 2006: Message edited by: Sam Bluesman ]