title: how to implement Interface in class C#
body: <p>i have two interfaces <code>IAppointment and IAppointments : IList&lt;IAppointment&gt;</code>
  in the second class i have 3 members</p>
  
  <pre><code> public interface IAppointments : IList&lt;IAppointment&gt;
  {
      bool Load();
      bool Save();
      IEnumerable&lt;IAppointment&gt; GetAppointmentsOnDate(DateTime date);
  }
  </code></pre>
  
  <p>Of which i can only implement the first 2 in the class Appointments and i get errors with whatever method i tried for the 3rd one and i get the same 14 errors always (about "Appointments does not implement interface member IAppointment.GetEnumerator() , .Count , .Remove , .Contains and some others</p>
  
  <p>also this is the other one</p>
  
  <pre><code>public interface IAppointment
  {
      DateTime Start { get; }
      int Length { get; }
      string DisplayableDescription { get; }
      bool OccursOnDate(DateTime date);
  }
  </code></pre>
  
  <p>where here i probably need to implement those in a class too , 
  Sorry about my bad explanation but maybe i havent understood the actual problem </p>
  
  <p>P.S. both the interface/classes are being used in another partial class which runs without errors</p>
  
  <p>Update:</p>
  
  <p>My only problem now is that i don't know how to implement the 1st member of the IAppointment (What should it's return type be?? since its the Starting time of the Appointment e.g. 12:00) almost everything else is fine i think </p>
  
  <p>P.S.2 Thank you guys for your help so far!</p>