// 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; using System.Runtime.InteropServices; unsafe class MainClass { [DllImport("D:\\IDEProjects\\VisualStudio\\PtrPtrPtr\\Release\\PtrPtrPtr.dll")] private static extern byte ***ptrptrptr(); public static void Main(string[] args) { byte ***ppp = ptrptrptr(); for(int i = 0; i < 2; i++) { for(int j = 0; j < 3; j++) { for(int k = 0; k < (3*i+j+1); k++) { Console.Write((char)ppp[i][j][k]); } Console.WriteLine(); } } } }