Introduction
If you would like your console application to show a spinning animation (cycle through characters | / - \ in place) to show your application is busy/working, then the following class can do that for you.
Simple run the animation using.
SpinAnimation.Start() or SpinAnimation.Start(50) depending on how fast you want your animation to spin.
To stop the animation use.
SpinAnimation.Stop()
Spin animation will deliberately throw an invalid operation when attempting to start it twice but can be checked with the Boolean ISBusyproperty prior to starting. Stop can be called twice successively without any exceptions.
Here is the class, which is self-documented to describe how it works.