Simple snippets for Visual Studio to help developers that needs coding agility xD
Download the currents files in this repository and follow the steps described on Microsoft Documentation
Enter sctor and press 'Tab' twice to create a static constructor.
static ClassName()
{
}
Enter pubmet and press 'Tab' twice to create a public method with a void return and without params
public void Method()
{
}
Enter primet and press 'Tab' twice to create a private method with a void return and without params
private void Method()
{
}
Enter tcf and press 'Tab' twice to create a try/catch/finally block and import automatically the System namespace.
try
{
}
catch(Exception)
{
}
finally
{
}
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/"/>]]>