how to add Dispecher timer in for loop?
===

i have to add Dispatcher timer in for loop.i have a multiple pushpin button and run time i wants to retrieve this pushpin button in some time interval so how to add dispatcher timer in my loop...

my C# code is....
 

     for (int i = 0; i <= ClsGetDeviceMap.lstLongLatitude.Count - 1; i++)
                        {
                            string lat, lon;
                            lat = ClsGetDeviceMap.lstLatitude.ElementAt<string>(i).Trim();
                            lon = ClsGetDeviceMap.lstLongLatitude.ElementAt<string>(i).Trim();
                            Latitude = Convert.ToDouble(lat);
                            LongLatitude = Convert.ToDouble(lon);
                            GpsSpeed = 44.21811;
    
                            map1.Center = new GeoCoordinate(Latitude, LongLatitude, GpsSpeed);
                            map1.ZoomLevel = 17;
                            map1.ZoomBarVisibility = Visibility.Visible;
    
    
                            pin[i] = new Pushpin();
                            pin[i].Location = new GeoCoordinate(Latitude, LongLatitude);
    
    
                            map1.Children.Add(pin[i]);
                            myCoorditeWatcher = new GeoCoordinateWatcher(GeoPositionAccuracy.High);
                            myCoorditeWatcher.MovementThreshold = 20;
    
    
                            //DispatcherTimer newTimer = new DispatcherTimer();
                            //newTimer.Interval = TimeSpan.FromSeconds(5);
                            //// newTimer.Tick += map1.Children.Add(pin[i]);
                            //newTimer.Start();
    
    
    
    
    
    
    
    
                            var gl = GestureService.GetGestureListener(pin[i]);
    
                            gl.Hold += new EventHandler<GestureEventArgs>(GestureListener_Hold);
                            gl.Tap += new EventHandler<GestureEventArgs>(GestureListener_Stack_Tap);
                            myCoorditeWatcher.PositionChanged += new EventHandler<GeoPositionChangedEventArgs<GeoCoordinate>>(myCoorditeWatcher_PositionChanged);
    
    
                        }
                        timer = new DispatcherTimer();
                        timer.Interval = TimeSpan.FromMilliseconds(5000);
                        timer.Tick += new EventHandler(timer_Tick);
                        timer.Start();
                }

