I want to use System.Timer in my Xamarin Forms based project. I am actually converting my Xamarin iOS project to Xamarin Formbased project. My Xamarin iOS project has all code for Timer using System.Timer
aTimer = new Timer (tm);
// Hook up the Elapsed event for the timer.
aTimer.Elapsed += new ElapsedEventHandler (OnTimedEvent);
aTimer.Enabled = true;
aTimer.Start ();
When i try to use the same code in Xamarin Forms project it is giving error. First of all
using System.Timers;
It says: The type or namespace name Timers does not exist in the namespace System. Are you missing a assembly reference?
Does Xamarin iOS System different than Xamarin Forms System reference?