I had looked up solutions here C# shortcut or shorthand getter setter but when I implement one of solutions
visual studio generates code like
private int myVar;
public int MyProperty
{
get { return myVar; }
set { myVar = value; }
}
what I want vs auto getter setter generator is to create getter setter for all of my variables and depending using their name like
private int id;
public int Id
{
get { return id; }
set { id= value; }
}
Is this possible?