title: Error - invalid token '(' in class struct or interface member declaration in c#
body: <p>My code is - </p>
  
  <pre><code>public partial class App : Application
  {
  
      HarvestApp.GoogleAPIManager GAPImanager = new HarvestApp.GoogleAPIManager();
  
      List&lt;Event&gt;todayCalendar = GAPImanager.GetCalendarEventsForDate(DateTime.Today);
  
      HarvestApp.HarvestManager HAPIManager = new HarvestApp.HarvestManager();
  
      Console.WriteLine("Entries found for Today :" + todayCalendar.Count);
  
      foreach(Event todayEvent in todayCalendar)
      {
          var addEvent = new HarvestApp.Harvest_TimeSheetEntry(todayEvent);
          EntryList.Add(addEvent);
          HAPIManager.postHarvestEntry(addEvent);
      }
  
   }
  </code></pre>
  
  <p>It gives me token error. Please help.</p>