What is the difference between selecting via an Invert vs. Toggle action?

What is the difference between selecting via an Invert vs. Toggle action? Both options seem to do the same thing when I try them out in Object Mode, but maybe I’m missing something.

Please Eexplain what you mean by Invert and Toggle action

I mean like this, in the User Preferences:


Toggle = toggles between select all and deselect all
Invert = toggle between all those selected and all those not selected

Add three cubes to a scene, select one cube and try both options. You will see the two different results as you press the shortcut. You will only see the same result if you start with no objects selected or all objects selected.

Thank you! I appreciate the info.