P
Paul E Collins
Does anyone else think it would be nice to be able to write something like
this ...
public SomeType P { v; }
.... rather than this?
public SomeType P
{
get { return v; }
set { v = value; }
}
I realise that the property construct allows 'get' and 'set' to do more than
just assign or return a value, but in most cases - when I don't want to do
anything else - the standard form seems slightly long-winded.
P.
this ...
public SomeType P { v; }
.... rather than this?
public SomeType P
{
get { return v; }
set { v = value; }
}
I realise that the property construct allows 'get' and 'set' to do more than
just assign or return a value, but in most cases - when I don't want to do
anything else - the standard form seems slightly long-winded.
P.