+ 1
Should I place the Factorial method above Main method?
Why? Please in layman terms. https://code.sololearn.com/cUIJM1pNmxZm/?ref=app
1 Odpowiedź
+ 6
The order of your method declarations does not affect the result, compilation is the same anyway. I think it's a question of style. I like having the Main method on top, the execution starts there anyway, so when you start reading a code, it helps to understand what is happening on the big picture.