Minggu, 27 Februari 2011

Creating Code Snippets with Replacements

Code SnippetsIn an earlier example I described how you can create your own code snippets, register them and insert them using Visual Studio. The example snippet contained static code for the basic IDisposable pattern. Using the snippet the entire pattern could be added to a C# class file with a few keystrokes. ReplacementsSnippets can be made more useful with the use of replacements. These are

Tidak ada komentar:

Posting Komentar