While refreshing design patterns, I was curious to know are there any code snippets available with Visual studio. I could not find any and finally found that a handful of design pattern snippets are available here (in codeplex). Download that and save it in "C:\Users\YourUserName\Documents\Visual Studio 20xx\Code Snippets\Visual C#\My Code Snippets".
 |
Step 1 |
. To use that open an empty file in visual studio 20xx and then right click -> insert snippet -> Choose "My Code Snippets" -> Choose the design pattern which you would like to use. Their shortcut name is "dpdesignpatternname". Happy Programming :)
 |
Step 2 |
 |
Step 3 |
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.