title: How to use iterator in C# with EmguCV?
body: <p>In OpenCV I use <code>std::vector&lt;std::vector&lt;cv::Point&gt;&gt;::const_iterator</code> like the code here:</p>
  
  <pre><code>std::vector&lt;std::vector&lt;cv::Point&gt;&gt; contours;
  cv::findContours(contour,contours,CV_RETR_TREE,CV_CHAIN_APPROX_SIMPLE);    
  std::vector&lt;std::vector&lt;cv::Point&gt;&gt;::const_iterator itContours = contours.begin();
  
  while(itContours != contours.end())
  {
      if(Condition1)
          itContours = contours.erase(itContours);
      else if(Condition2)
      itContours = contours.erase(itContours);
      else if(Condition3)
          itContours = contours.erase(itContours);
      else
          ++itContours;
  }
  </code></pre>
  
  <p>But now I start using EmguCV but I can't find how to do like the code above. How can I do it?</p>