enumerator problem
C#
5
Posts
4
Posters
0
Views
1
Watching
-
Just curious, why would you need that?
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
-
Just curious, why would you need that?
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
-
actually im makin an urdu editor and if any arror occurs i ned to move bak to previous word nd i hasd to code a loooong loong process for this thas y thanks ny ways
Why not simply maintain a moving cache of the last N entries you iterated through? e.g foreach (string x in y) { /* operations here */ string previousx = x; }