Say I have a section of code e.g:
[StringLength(15, ErrorMessage = "Length must be less than or equal to 15")]
public string UserDefinedName0 { get; set; }
[StringLength(63, ErrorMessage = "Length must be less than or equal to 63")]
public string UserDefinedValue0 { get; set; }
Is there any plugin or visual studio feature or third party windows tool that allows me to copy and paste it such that I get a parameter for say “0” when I paste.
I think this is what you are looking for:
Visual Studio Tip: Setting Up Code Snippets with Variable Parameters