Pro Visual Studio Code Snippets

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
CSharp-Online.NET:Articles
Visual Studio Articles

VS Code Snippets

© 2005 Wiley Publishing, Inc.
This article—Pro Visual Studio Code Snippets—is from Professional Visual Studio 2005, by Andrew Parsons, Nick Randolph. Copyright © 2005 Wiley Publishing, Inc. All rights reserved. Reproduced by permission. This article has been edited especially for C# Online.NET.


Code Snippets

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.


Previous_Page_.gif Next_Page_.gif

See also



Personal tools