The main difference

As far as the method itself is concerned:

There is very little difference between writing world-level methods and class-level methods.

The main difference is:

The location of the button that you click to cause the skeleton for the method to appear as a new tab in the edit pane.