Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@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π -
@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 -
D--M22666yFuck 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. -
@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 -
D--M22666y@sohilkaushal
So the original question was completely different to what you actually wanted. And it's as if you didnt even read the answer. -
double linked list already has an enumerator, I think if you need help, dm me on discord
bigworld12#2911 -
@illusion466 everyone was too lazy to even read the code. devRant is not a place where you would expect to get appropriate comments only.
-
@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
Related Rants
Does anyone know how to implement generic IEnumerator in C#
question
microsoft
help
questions
.net
data structure
c#