title: Cannot implicitly convert type System.EventHandler to System.EventHandler<object> error
body: <p>I am trying to implement a Timer in windows phone app.It works fine in Windows Phone App(Silverlight) but it isnt working in Windows Phone Blank App.But it gives me following error-</p>
  
  <pre><code>Cannot implicitly convert type System.EventHandler to System.EventHandler&lt;object&gt;
  </code></pre>
  
  <p>This is my code -</p>
  
  <pre><code>namespace Timer
  {
      public partial class MainPage : Page
      {           
          DispatcherTimer mytimer = new DispatcherTimer();
          int currentcount = 0;
          public MainPage()
          {
              InitializeComponent();
  
              mytimer = new DispatcherTimer();
              mytimer.Interval = new TimeSpan(0, 0, 0, 1, 0);
              mytimer.Tick += new EventHandler(mytime_Tick);
                //HERE error comes Cannot implicitly convert type System.EventHandler to System.EventHandler&lt;object&gt;
          }
  
          private void mytime_Tick(object sender,EventArgs e)
          {
              timedisplayBlock.Text = currentcount++.ToString();    
          }
  
          private void startButton_Click(object sender, RoutedEventArgs e)
          {
              mytimer.Start();
          }
      }
  }
  </code></pre>
  
  <p>I tried <a href="https://stackoverflow.com/questions/16636830/cannot-implicitly-convert-type-system-eventhandler-to-system-eventhandlerobj/16636862#16636862">Cannot implicitly convert type &#39;System.EventHandler&#39; to &#39;System.EventHandler&lt;object&gt;&#39; for storyboard complete</a></p>
  
  <p>But it even helped.How can I fix this error?</p>