J
Joe Barbara
I want to make an object called Object1 and and Object called Object2
Object1 has properties x and y
Object2 contains Object1 as a property
should I be able to do:
Object2.Object1.x
As I would have with COM?
or should I have to do
Object2.Object1 = new Object1(x,y)
When are references allowed in .NET? I can make both cases work and I like
the COM style, but is that improper since this is .NET with no references?
Comments thoughts?
(e-mail address removed)
Object1 has properties x and y
Object2 contains Object1 as a property
should I be able to do:
Object2.Object1.x
As I would have with COM?
or should I have to do
Object2.Object1 = new Object1(x,y)
When are references allowed in .NET? I can make both cases work and I like
the COM style, but is that improper since this is .NET with no references?
Comments thoughts?
(e-mail address removed)