Creating code snippets
In order to create a code snippet in VS, we need to create a file with the snippet
extension. This file has an XML format, and there is a base template that we can update to include the information for our code snippet. The following code is a template example:
<?xml version="1.0" encoding="utf-8"?><CodeSnippets xmlns="http://schemas.microsoft.com/ VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> <Title></Title> <Author></Author> <Description></Description> <...