title: IEnumerable , IEnumerator vs foreach, when to use what
body: <p>I was going through  IEnumerable and IEnumerator , but could not get one point clearly..if we have foreach, then why do we need this two interfaces? Is there any scenario where we have to use interfaces.If yes, then can somebody explain with an example.
  Any suggestions and remarks are welcome.
  Thanks.</p>