static void Main() { LinkedList myList = new LinkedList(); int[] numarr = { 1, 1, 3, 5 }; foreach (int a in numarr) { myList.AddEnd(a); } myList.PrintAll(); int entry = int.Parse(Console.ReadLine()); myList.FindByValue(entry); Console.ReadKey(); }