Hi all,
I have a project with a bunch of classes with methods that look like this:
public class Person {
private string _name;
...
public void setName(string name) {
this._name = name;
}
public string getName()
{
return this._name;
}
....
}
Is there a way to get reSharpers Code cleanup feature (or any other tool out there) to refactor the above code to this.
public class Person {
public string Name { get; set; }
}
I'm guessing there isn't any tool that does this, but it never hurts to ask right?
Thanks