Tuesday, March 07, 2006

Code Snippets (C#)

Visual Studio provides a new feature called code snippets. You can use code snippets to type a short alias, and then expand it into a common programming construct. For example, the for code snippet creates an empty for loop. Some code snippets are surround-with code snippets, which enable you to select lines of code, then choose a code snippet which will incorporate the selected lines of code. For example, selecting lines of code then activating the for code snippet creates a for loop with those lines of code inside the loop block. Code snippets can make writing program code quicker, easier, and more reliable

for more details : http://msdn2.microsoft.com/en-us/library/f7d3wz0k.aspx


This page is powered by Blogger. Isn't yours?