W
Walter Riggs via DotNetMonster.com
I've build an Address class in a "Util" namespace. I'm referencing that
namespace in another object which needs address data (call it "Agent").
It works fine, but when I access the Agent's address in code it looks like:
agent.Address.address1
agent.Address.city
....
What I'm looking for is a way to build a utility class that I can plug into
my Agent class so that the syntax is:
agent.address1
agent.city
....
Any pointers?
namespace in another object which needs address data (call it "Agent").
It works fine, but when I access the Agent's address in code it looks like:
agent.Address.address1
agent.Address.city
....
What I'm looking for is a way to build a utility class that I can plug into
my Agent class so that the syntax is:
agent.address1
agent.city
....
Any pointers?