Examples in C# from the book by Adam Freeman