What is an IntelliSense code snippet?
An IntelliSense code snippet is a fragment of code that can be inserted into the code editor to accomplish a particular task. Unlike samples, which help by demonstrating a concept in an example, code snippets help by actually accomplishing the task in the context of your own code. There are a few different types of code snippets: Task-oriented code snippets help the user accomplish a particular code task. These code snippets include one or more lines of code that accomplish a specific task such as writing a message to the application event log, comparing two files or sending an email message. Expansion code snippets reduce the number of keystrokes required to implement common programming constructs. These code snippets do not include any application specific code and contain the minimum code required by the construction. Examples of expansion code snippets include an If statement, For loop, Property declaration, Try…Catch block, etc. Code snippets involve more interactive features than