1

Does anyone know how to implement generic IEnumerator in C#

Comments
  • 9
    "can you do my homework for me cause I'm too lazy to fucking google how to do it"
  • 0
    @D--M its not my home work mister

    Just because i asked for help doesn't mean that I need help with homework

    Maybe I am trying to figure out shit on my own and stuck on a partπŸ™„
  • 1
    Aren't their sites for this?
  • 0
    @ScribeOfGoD could find anything that satisfied my condition

    Posted a new request on a few sites including MSDN, stackoverflow and devRant just for the sake of getting answers quickly
  • 0
    @ScribeOfGoD is it a crime to ask questions here ?
  • 3
    Fuck it, I'll bite.

    https://stackoverflow.com/questions...

    Was LITERALLY the first thing i found when i googled your question.

    Seems to solve your problem.
  • 2
    @D--M
    I clicked the link and when I reached "TestesInterfaces" I laughed a bit on the inside.
  • 0
    @D--M this solution is quite different from what my question is expected to do but thanks for the time and effort anyway

    I am trying to implement the IEnumerator in such a way that it can directly iterate over a list. Hence this solution would not be viable for that.

    That's why I wanted a answer

    Just trying to explain my point not inviting you to a one on one
  • 0
    @sohilkaushal
    So the original question was completely different to what you actually wanted. And it's as if you didnt even read the answer.
  • 2
    double linked list already has an enumerator, I think if you need help, dm me on discord
    bigworld12#2911
  • 1
    Dont enable him.
  • 0
    That theme is couloured piss and poo
  • 0
    @illusion466 everyone was too lazy to even read the code. devRant is not a place where you would expect to get appropriate comments only.
  • 0
    @illusion466 thank you finally someone
  • 0
    @bigworld12 thank you for the help but i ended up doing it on my own

    I was trying to implement my own enumerator as a programming practice to build up concepts. So that's why I didn't want to use the inbuilt one
  • 1
    @sohilkaushal ok good luck then
Add Comment