How to pass variables between test cases in a suite (the "right" way...)

Here’s one: How to use Global Variables between test suites while executing Test Suite Collection?

Context is different but you get the gist.