Visual Studio extension to generate design pattern templates You can download it from web or install it using Visual Studio extensions manager
- Once installed you can find a new command in the tools tab "Add design pattern"
- Select the pattern you want to generate
- Select the project which will include the template
- Click on "Generate" button
- You can find a .cs file named as the pattern you chose
- Edit the template as you wish and run the code