Timeline for Why doesn't assigning to the iteration variable in a foreach loop change the underlying data?
Current License: CC BY-SA 4.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 8, 2023 at 1:46 | history | edited | Karl Knechtel | CC BY-SA 4.0 |
improve title (this was obnoxiously hard to find)
|
| Jul 8, 2020 at 16:33 | history | protected | cassiomolin | ||
| Jan 7, 2019 at 18:36 | history | edited | Makoto | CC BY-SA 4.0 |
edited title
|
| S Jul 1, 2013 at 20:05 | history | suggested | ST3 | CC BY-SA 3.0 |
This title may help people find an answer to their question. They will not ask it, so this change might save some people time.
|
| Jul 1, 2013 at 20:01 | review | Suggested edits | |||
| S Jul 1, 2013 at 20:05 | |||||
| Apr 5, 2013 at 22:25 | vote | accept | Kacy Raye | ||
| Apr 5, 2013 at 22:23 | comment | added | Luiggi Mendoza |
@KacyRaye by the way, this is a similar behavior when using the enhanced for loop on object references classes (and the solution proposed here is the same).
|
|
| Apr 5, 2013 at 22:12 | answer | added | JB Nizet | timeline score: 3 | |
| Apr 5, 2013 at 22:12 | answer | added | Michał Tabor | timeline score: 1 | |
| Apr 5, 2013 at 22:12 | answer | added | dan | timeline score: 4 | |
| Apr 5, 2013 at 22:11 | answer | added | Vishal K | timeline score: 9 | |
| Apr 5, 2013 at 22:11 | answer | added | Jon Skeet | timeline score: 83 | |
| Apr 5, 2013 at 22:11 | answer | added | rgettman | timeline score: 3 | |
| Apr 5, 2013 at 22:09 | history | asked | Kacy Raye | CC BY-SA 3.0 |