Last active
April 13, 2018 03:31
-
-
Save Mds92/7fdd3a9cf4bdab4d259330fbc307a2f0 to your computer and use it in GitHub Desktop.
Code snippet for methods in Visual Studio C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>method</Title> | |
<Author>Mohammad Dayyan</Author> | |
<Description>Code snippet for method</Description> | |
<HelpUrl> | |
</HelpUrl> | |
<Shortcut>method</Shortcut> | |
</Header> | |
<Snippet> | |
<Declarations> | |
<Literal Editable="true"> | |
<ID>methodName</ID> | |
<ToolTip>Method name</ToolTip> | |
<Default>MethodNamePlaceholder</Default> | |
<Function>MethodName()</Function> | |
</Literal> | |
</Declarations> | |
<Code Language="csharp" Delimiter="$"><![CDATA[public void $methodName$ () | |
{ | |
$end$ | |
}]]></Code> | |
</Snippet> | |
</CodeSnippet> | |
</CodeSnippets> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment