This C# .Net code is from the Code Recipes series of Test Automation TV YouTube Channel.
The full explanation of the code is available in the video.
This video also shows how to use Visual Studio 2019 test explorer to run tests.
Other topics included are
- typecasting of an int to a char in C#
- Using StringBuild.Append method
- Using Random class and Next method
- Specifying default parameter values in methods
- Using Sleep method call