title: C# Custom Iterator Implementation
body: <p>I have a class, say Myclass, with a list variable, say string list, which I want to call from outside Myclass object instance, in a loop, succinctly like: </p>
  
  <pre><code>Myclass myclass = new Myclass();
  
  foreach (string s in myclass)
  {
  }
  </code></pre>
  
  <p>I suspect it uses the implicit operator keyword inside of Myclass on a property. Syntax grrr..!  Any help?</p>
  
  <p>(Not sure if it's good practice but there are times when it comes in handy). </p>