Corrected Console namespace in code examples.

The code snippets are missing the Console namespace. This PR corrects the namespace.