힙1 04. 스택 메모리 vs 힙 메모리 확인 문제 1. 다음 `struct` 코드와 `class` 코드의 결과를 예측해보고, 이유를 생각해봅시다. public struct Point{ public int X; public int Y; public Point(int x, int y) { X = x; Y = y; }}public class Program{ public static void Main() { Point point1 = new Point(10, 20); Point point2 = point1; point2.X = 30; Console.WriteLine("Point 1 X: " + point1.X); Console.. 스파르타 게임개발종합반(Unity)/기술 면접 대비 꾸준 실습 2024. 7. 5. 이전 1 다음 반응형