I have a class for an object that looks like this:
public class SomeObject
{
int SomeInt { get; set; }
public void SomeMethod()
{
var SomeVar = this.SomeInt;
var SomeVar2 = SomeInt;
}
}
When I'm referring to a class property within a class method, does it make the code better/faster/safer if I write this.SomeInt
instead of SomeInt
like I do when I assign SomeVar2
?
Thanks for your suggestions.