Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ReneeBolivar/SnippetsVS

Repository files navigation

SnippetsVS

Simple snippets for Visual Studio to help developers that needs coding agility xD

Install

Download the currents files in this repository and follow the steps described on Microsoft Documentation

Static constructor

Enter sctor and press 'Tab' twice to create a static constructor.

static ClassName()
{

}

Public method

Enter pubmet and press 'Tab' twice to create a public method with a void return and without params

public void Method()
{

}

Private method

Enter primet and press 'Tab' twice to create a private method with a void return and without params

private void Method()
{

}

Try/Catch/Finally

Enter tcf and press 'Tab' twice to create a try/catch/finally block and import automatically the System namespace.

try
{
}
catch(Exception)
{
}
finally
{
}

Documentation

Enter doc and press 'Tab' twice to create a simple template of a documentation with XML comment and import automatically the System namespace.

/// <summary>
/// Method Information
/// </summary>
/// <param name="args">Parameter</param>
/// <exception cref="Exception">Default Exception</exception>
/// <returns>
/// Method Return
/// </returns>
/// See more on this link <see cref="https://docs.microsoft.com/en-us/dotnet/csharp/"/>]]>

About

Snippets for Visual Studio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published