using System;

    class ExerciseCh2_9_4 {

        static void WriteLocations (byte[] ba) {

            unsafe {                                                  //<- 여기서 오류남 ㅡㅡ 진짜 오타아닌데 아

                fixed (byte* pArray = ba) {

                    byte* pElem = pArray;

                    for (int i =0; i < ba.Length; i++) {

                        byte value = *pElem;

                        Console.WriteLine(“ba[{0}] at 0x{1:x} is {2}”,

                                i, (uint)pElem, value);

                        pElem++;

}     }     }     }

public static void Main() {

    byte[] ba = new byte[] {1, 2, 3, 4, 5};

           WriteLocations(ba);

    }

}