title: Creating a List<Book> c# console application
body: <p>I want to create a List that holds a couple of books with the book title, authors name and year of publication. example: ( AuthorLastName, AuthorFirstName, “The book title”, year.)</p>
  
  <p>I know how to create <code>List&lt;int&gt;</code>, for example:</p>
  
  <pre><code>class Program
  {
      static void Main()
      {
      List&lt;int&gt; list = new List&lt;int&gt;();
      list.Add(10);
      list.Add(20);
      list.Add(25);
      list.Add(99);
      }
  }
  </code></pre>
  
  <p>But the problem is, if I want to create a list of books, I can't simply make a <code>list&lt;string&gt;</code> or <code>list&lt;int&gt;</code> because I want it to contain strings and int's (as the example above).</p>
  
  <p>So, Can anyone explain how I can make a List of books? </p>