// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; class MainClass { public static void Main(string[] args) { P p = new P(); Console.WriteLine(p); } } class P { private C c; public P() { c = new C(this); } public override string ToString() { return "P" + c; } } class C { private P p; public C(P p) { this.p = p; } public override string ToString() { return "C"; } }