Pro Visual Studio Code Snippets
|Visual C# Tutorials|
|Visual Studio .NET Tutorials|
VS Code Snippets
|© 2005 Wiley Publishing, Inc.|
Code snippets are small chunks of code that can be inserted into an application’s code base and then customized to meet the application's specific requirements. They are usually generic in nature and serve one specific purpose. Code snippets do not generate full-blown applications or whole form definitions—project and item templates are used for such purposes. Instead, code snippets shortcut the programming task by automating frequently used code structures or obscure program code blocks that are not easy to remember.
In this chapter you’ll see how code snippets have matured in Visual Studio 2005 to be powerful tools that can improve coding efficiency enormously, particularly for programmers who perform repetitive tasks with similar behaviors.