示例#1
0
        public void isnertofront(llist a, int newData)
        {
            Node newNode = new Node(newData);

            newNode.next  = a.headOrStart;
            a.headOrStart = newNode;
        }
示例#2
0
        static void Main(string[] args)
        {
            llist q = new llist();

            q.isnertofront(q, 2);

            q.print();
        }