title: How I can set DispatcherTimer into the for loop
body: <p>I am using wpf DispatcherTimer and I want ot use it into the for loop how i can use it..</p>
  
  <p>my code is here..</p>
  
  <pre><code>        DispatcherTimer timer = new DispatcherTimer();
  
          timer.Tick += (s, e) =&gt;
          {
              for (i = 0; i &lt; 10; i++)
              {
                  obsValue.Add(new Entities(i));
                  timer.Interval = TimeSpan.FromSeconds(30);
                  timer.Start();
              }
          };
  </code></pre>
  
  <p>Thanks....</p>