如题?    
       unsafe struct tester
    { 
        string str; string chang; tester * next; 
    } 
就是像数据结构中单链表的结点的结构体,要怎么声明才行,谢谢!

解决方案 »

  1.   

    链表结点
        class SingleLink
        {
            private int idata;
            public int Data
            {
                get
                { return idata; }
                set
                { idata = value; }
            }
            public SingleLink next;
            public SingleLink()
            {
                idata = -1;
                next = null;
            }
            public SingleLink(int data)
            {
                idata = data;
                next = null;
            }
        }
    http://topic.csdn.net/u/20090408/11/a9d4f2f7-3dd0-4e45-9a48-1e8b881552aa.html