To implement this recipe, we will need the existing code structure from the previous recipe. If you are starting from scratch, you can follow the code structure from the previous recipe and replace the implementation with your own code.
As with any recipe that deals with C# code, it is strongly recommended that you use a stable version of Visual Studio. In our example, we will be using Visual Studio 2015.