Not even sure I worded this correctly so I'll describe what I'd like to do.
I have a class that has a property of Quantity which is an integer, the class is designed to take the an inputted integer, convert it to a string and pad with spaces, so integer 9 becomes string '9 '. It would be nice if I could 'overload' the property to allow an integer to be put in but a string read out so instead of having another property called QuantityString I could just read out Quantity. Once put in the class the integer Quantity will never be read out as a number so I don't need to see it again. Since I do this quite frequently, using a class to format output, I'd love to do it this way but I'm not sure if it's even possible.
Bill