private List<int> FillIntoList(SinglyLinkedLinkedList<int> linkedList) { var list = new List<int>(); foreach (var item in linkedList) { list.Add(item); } return list; }
private List<int> FillIntoList(SinglyLinkedLinkedList<int> linkedList) { var list = new List<int>(); foreach (var item in linkedList) { list.Add(item); } return list; }