Part 7- LinkedList Class creation in C# | Linked List Tutorials in C#

 

using System;

using System.Collections.Generic;

using System.Text;


namespace LinkedListTutorial

{

    class LinkedList

    {

        private Node head;

        private int _linkedListSize;


        public LinkedList()

        {

            this.head = null;

            this._linkedListSize = 0;

        }


        public bool IsEmpty 

        {

            get { return this._linkedListSize == 0; }

        

        }


        public int LinkedListSize 

        {

            get { return this._linkedListSize; }

        }

    }

}




Share this

Related Posts

Previous
Next Post »