A software consultant's diary and lessons learned from the front lines
Visual Studio Console.ReadLine & Console.ReadKey Snippets
Visual Studio Code Snippets are awesome productivity enhancers; I can only imagine how many millions of keystrokes I’ve saved over the years by making a habit out of using them.
However, not all common pieces of code are available as snippets out of the box. Good examples are Console.ReadLine & Console.ReadKey. Fortunately, creating them yourself is very easy, just save the following as .snippet files and then import them via Tools > Code Snippet Manager... > Import...:
Now you can use them by typing cr or ck for Console.ReadLine or Console.ReadKey respectively and hitting TAB twice.
Written on January 18, 2016
Saeb Amini is a full-stack .NET developer based in Brisbane, AU, specializing in the Microsoft tech stack.
He's a certified Scrum Master and is passionate about high-quality, human-readable code and good software craftsmanship practices.
He's worked as an independent consulant for 8 years but since 2016 joined Readify to work alongside brilliant people and deliver outstanding solutions to bigger business problems.
This blog's main purpose is to serve as a self-reminder of lessons learned during his work, but if it happens to help you, that's even better!