title: I have a issue with creating a book class in c#
body: <p>Okay so I have to create a class called book and it has to have an author, title and a date and I have to add a method in at the end called display() that outputs the title and author. I think I have the right code but it keeps giving me an error with the date? </p>
  
  <pre><code>   namespace lab7_feador
    {
       class Program
    {
           static void Book(string[] args);
  
              public class Book
   {
      public string Nick { get; set; }
      public string James { get; set; }
      public string Radar { get; set; }
      public int 1989 { get; set; }
  
  
  
                }
           }
      }
  </code></pre>
  
  <p>is this how it is supposed to be?</p>
  
  <p>or does it look like this I just need to add the date</p>
  
  <p>namespace lab7_feador
  {</p>
  
  <pre><code>class Program
  {
      static void Main(string[] args)
      {
         book;
  
          book = title book ("Radars adventure");
          Console.WriteLine(book.title());
  
          book = Author ("Nick James");
          Console.WriteLine(author.Describe());
  
          Console.ReadLine();
  
      }
  }
  
      class book
      {
          private string title;
  
          public book(string title)
          {
              this.title = title;
          }
  
           public string Describe()
           {
            return "The name of this book is " + title;
           }
  
          public string Color
          {
              get { return title; }
              set { title = value; }
          }
      }
  }
  </code></pre>