Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
503 B
3
Indexable
Never
 public void InsertInOrder(T item) //adds each item and put its in order 
          {
              LinkGen<T> temp = list;
              LinkListGen<T> newList = new LinkListGen<T>();
              if (list == null)
                  AddItem(item);
              else
              {
                  while (temp != null) ;

              }

          }


private void button4_Click(object sender, EventArgs e)
        {
            myList.InsertInOrder(textBox2.Text);
        }