Refactor 01_ExtractMethod.cs.

Refactor dirty code.