//Create the list
LinkedList<int> my_list = new LinkedList<int>();
//Add elements into the Linkedlist using AddLast() method
my_list.AddLast(1);
my_list.AddLast(3);
my_list.AddLast(5);
my_list.AddLast(7);
my_list.AddLast(9);
my_list.Clear();