This might be a basic question, but I would like to know best practice.I have a public property which takes in a value as an Integer. If thatvalue by accident would be a String, could I in my property do validationand convertion on the fly, so the output becomes an Integer, withoutmy script failing? Or is it best to make shure to operate with the right datatype before passing it in the property?This is my property: \[code\]Public Property Quantity() As Integer Get Return m_Quantity End Get Set(value As Integer) m_Quantity = value End SetEnd Property\[/code\]Best regards!