Have a WPF application remember its size and position between runs

Sometime software development is all about doing the same things over and over again! I keep on forgetting how to get a windows application to remember it size and position in between runs, and I keep on re-finding this handy post that describes how it’s done:

http://stackoverflow.com/questions/847752/net-wpf-remember-window-size-between-sessions

The first answer always works like a charm – copy and paste city! ;-)

Thanks ChrisF!