Thursday, June 04, 2009

How to insert code snippet in Visual Studio

Have you ever wonder how to insert a piece of code without typing it all? Visual Studio IntelliSense code snippet will do it for you.

For example, to use a foreach loop snippet. Simply type in foreach and press the TAB key twice.