none
convert c code into c# RRS feed

  • Question

  • I am learning data structure course.

    The book has a code like that

    struct LNode//in c language
    {
        ElemType data;
        struct LNode *next;
    }

    but I try convert this c into c# , but failed
    struct LNode
    {
        int data;
        LNode a;
    }/* wrong */
      struct LNode
    {
        int data;
        struct LNode a;
    }/*wrong */

    I have no idea how to continue my course using c#
    Sunday, June 15, 2008 10:31 AM

Answers

All replies