C#-like properties