// Example taken from C# 5.0 in a Nutshell page ~824