Answer by
ThePoltergeist (13)
Code snippets are used in Visual Studio when programming in C#. When the programmers types a keyword (usually the begining of the code he wishes to write) corresponding to a snippet, Visual Studio allows him to generate the portion of code automatically. For example, Visual Studio can generate an entire "for" loop if the programmer types the word "for".