Visual C# Code Snippets
This webpage is not found
Sign in Home Samples Languages Extensions Documentation Community Visual Studio Team Foundation Server/ALM .NET Framework Get started for free Developer Tools and Languages Visual Studio 2012 Application Development in Visual Studio Writing Code Code Snippets Visual C# Code Snippets How to: Use Surround-with Code Snippets How to: Restore C# Refactoring Snippets Code Snippet Functions
Visual C# Code Snippets
Visual Studio 2012 Other Versions 7 out of 9 rated this helpful - Rate this topic Code snippets are ready-made snippets of code you can quickly insert into your code. 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, and then choose a code snippet which incorporates the selected lines of code. For example, when you select lines of code and then activate the for code snippet, it 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. You can insert a code snippet at the cursor location, or insert a surroundwith code snippet around the currently selected code. The Code Snippet Inserter is invoked through the Insert Code Snippet or Surround With file:///E:/GL3/semestre2/dotNet/plus/Visual C%23 Code Snippets.htm 1/7
5/16/13
Visual C# Code Snippets
commands on the IntelliSense menu, or by using the keyboard shortcuts CTRL+K and then X or CTRL+K and then S respectively. The Code Snippet Inserter displays the code snippet name for all available code snippets. The Code Snippet Inserter also includes an input dialog box where you can type the name of the code snippet, or part of the code snippet name. The Code Snippet Inserter highlights the closest match to a code snippet name. Pressing TAB at any time will dismiss the Code Snippet Inserter and insert the currently selected code snippet. Typing