The C# code for the front-end user code and printing.