public void Insert(object item, int position) { var newListElement = new LinkedListItem(item); LinkedListItem current = First; for (int i = 0; i < position; i++) { if (i == position) { if (current != null) { } else { Add(item); } } else { } } }
public void Clear() { Current = null; First = null; Length = 0; }