using System.Collections.Generic;
public static void Main()
Console.Write("Press Enter to start your library: ");
string line1 = Console.ReadLine();
List<string> library = new List<string>();
Console.WriteLine("Type 1 to enter a book's information.");
Console.WriteLine("Type 2 to search the library for a book");
string line2 = Console.ReadLine();
Console.Write("Book title: ");
string t = Console.ReadLine();
Console.Write("Book author: ");
string a = Console.ReadLine();
Console.Write("Book category: ");
string c = Console.ReadLine();
Console.Write("Dewey Decimal number: ");
string d = Console.ReadLine();
string[] bk = new string[] {t, a, c, d};
string line3 = Console.ReadLine();
Console.WriteLine("Enter a title or author of a book");
Console.Write("Type here: ");
string search = Console.ReadLine();
var x = library.FindAll(delegate(string s){return s == "search";});