The Main method may have one of the following signatures:
public static void Main() public static int Main() public static void Main(string[] pArgs) public static int Main(string[] pArgs)
If its return type is int, a return statement should be used to terminate the program's execution, e.g.:
return 0;