also I would not call your property "getValue" as that makes no sense for a property that is both a get and set property and doesn't explain what property is being set. You should rename it to something to represent what it is you are getting/setting. If this txtName is for lets say a customer name I would call this property CustomerName.