What is the difference between the two ways of writing functions

There is no difference in use except for the fact you can use the second one to establish multiple event connections to a single function instead of a single event connection to a single function.

1 Like