[C#/COMMON/.NET6] Marshal 클래스 : AllocHGlobal 정적 메소드를 사용해 비관리 메모리 할당하기


■ Marshal 클래스의 AllocHGlobal 정적 메소드를 사용해 비관리 메모리를 할당하는 방법을 보여준다.

예제 코드 (C#)