In C# I am creating properties in different ways.
Like this:
public Dimension X { get; set; }
and like this:
Dimension _x;
public Dimension X
{
get { return _x; }
set { _x = value; }
}
or even just using a public variable
public Dimension X;
What should I consider before using one over the other if I am "fairly" certain that the needs for getting and setting will not change often?