laailalalaa
Programmer
i 'm reading smn else's C# code. i have smth (oversimplified) like this:
class A {instaceOfClassB; }
class B {instanceOfClassA; }
what's the point in doing that? also why doesn't this generate an infinite pointer chain (define instance of A, which would contain an instance of B (pointing to B), which again would contain an instance of A (pointing to A) aso asf)?
class A {instaceOfClassB; }
class B {instanceOfClassA; }
what's the point in doing that? also why doesn't this generate an infinite pointer chain (define instance of A, which would contain an instance of B (pointing to B), which again would contain an instance of A (pointing to A) aso asf)?