static void Main(string[] args) { Console.WriteLine("Starting Linked List"); LL list1 = new LL(); string data = "Apples"; // Display an empty list //list1.printFirstNode(); // Create the first add. list1.Add(data); list1.printFirstNode(); list1.Add(data); // Add a ReadKey just to see the output of a successful run Console.ReadKey(); }
public void printNodes(LL list) { for (int position = 0; position < list.size; position++) { } }