private void InsertAtTheEnd(int data)
        {
            Node p;
            Node temp = new Node(data);

            if (start == null)
            {
                start = temp;
                return;
            }

            p = start;

            while (p.link != null)
            {
                p = p.link;
            }

            p.link = temp;
        }
        public void Concatenate(SingleLinkedList list)
        {
            if (start == null)
            {
                start = list.start;
                return;
            }

            if (list.start == null)
            {
                return;
            }

            Node p = start;
            while (p.link != null)
            {
                p = p.link;
            }

            p.link = list.start;
        }
 public SingleLinkedList()
 {
     this.start = null;
 }
 public Node(int i)
 {
     this.info = i;
     this.link = null;
 }