Class Class A{ public B b; } Class B{ public int c; } Class Main{ public main(){ B b = new B(); // B를 메모리에 할당 -> heap의 MB공간을 차지한다고 가정 A a = new A(); // A를 메모리에 할당 -> heap의 MA공간을 차지한다고 가정 a.b = b; // A의 b는 MB를 참조함 } }예제 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(strin..