If class A constructs a instance of class B and sets a public variable in class B, how can class C call a member of class B?
How does C# manage the contruction of the same class?
Chuck
If class A constructs a instance of class B and sets a public variable in class B, how can class C call a member of class B?
How does C# manage the contruction of the same class?
Chuck
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Posted Feb 7, 2009, 1:37 PM
As for your second question, how the construction chain is executed depends on where you have intialized your variables in code. It might be easier to explain if you code up something and ask questions about it :)