private PropertyType _property;
public PropertyType PropertyName
{
get
{
//logic here
return _property;
}
set
{
//logic here
_property = value;
}
}
You can also use "prop" and hit TAB twice.
You can also use "propfull" and hit TAB twice.
The variable and property with get and set will be generated.